/* Đảm bảo form đăng nhập được căn giữa */
.login-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 80vh;  /* Chiều cao đầy đủ của cửa sổ trình duyệt */
}

.login-box {
      width: 100%;
      max-width: 400px;  /* Chiều rộng tối đa cho form */
      padding: 30px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
}

/* Cải thiện kiểu dáng của nút bấm */
      .login-box .button {
      width: 100%;
      font-size: 1.1em;
      padding: 10px;
}

/* Đổi màu khi hover lên các nút */
.login-box .button:hover {
      background-color: #3273dc;
      color: white;
}

/* Thêm khoảng cách giữa các field */
.login-box .field {
      margin-bottom: 20px;
}

/* Cải thiện style cho các label và input */
.login-box .label {
      font-weight: bold;
}


.accounts .card {
      margin-bottom: 20px;
    }

.platform-header {
      font-size: 1.5rem;
      font-weight: bold;
      color: #333;
      padding-bottom: 30px;
    }

    .account-list {
      display: flex;
      flex-wrap: wrap;
      gap: 15px; /* Tạo khoảng cách giữa các thẻ tài khoản */
    }

    .account-card {
      width: 100%;
      max-width: 245px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      padding: 15px;
      transition: transform 0.3s ease;
      margin-bottom: 20px;
      border: 1px solid #cccccc;
    }

    .account-card:hover {
      transform: translateY(-5px); /* Hiệu ứng di chuột */
    }

    .account-card img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: 10px;
    }

    .account-card .account-info {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .account-card .account-info span {
      font-size: 1rem;
      color: #333;
    }

    .account-card .account-item a {
      color: #e74c3c;
      font-size: 1.2rem;
      text-decoration: none;
    }

    .account-card .account-item a:hover {
      color: #c0392b;
    }


.connect-container {
      max-width: 600px;
      margin: 50px auto;
      background-color: white;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }


    .connect-container .platform-btn {
      padding: 20px;
      border-radius: 8px;
      font-size: 1.5em;
      color: white;
      width: 100%;
      margin-bottom: 20px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .connect-container .platform-btn:hover {
      transform: scale(1.05);
    }

    .tiktok-btn {
      background-color: #000000;
    }

    .facebook-btn {
      background-color: #1877f2;
    }

    .youtube-btn {
      background-color: #ff0000;
    }

    .instagram-btn {
      background-color: #c13584;
    }

    .x-btn {
      background-color: #1d9bf0;
    }

    .platform-btn i {
      margin-right: 10px;
    }


.hero {
      background-size: cover;   /* Đảm bảo ảnh phủ toàn bộ khu vực */
      background-position: center; /* Căn giữa ảnh */
      background-repeat: no-repeat; /* Không lặp lại ảnh */
      color: white; /* Đổi màu chữ để nổi bật trên ảnh nền */
      position: relative; /* Tạo bối cảnh cho lớp phủ */
}

.hero::before {
      content: ''; /* Tạo lớp phủ */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Lớp phủ đen với độ mờ */
      z-index: 1; /* Lớp phủ nằm dưới nội dung */
}

.hero-body {
      position: relative; /* Nội dung nằm trên lớp phủ */
      z-index: 2;
}

.hero .title, .hero .subtitle {
      color: white; /* Đổi màu chữ để nổi bật trên ảnh nền */
}

.terms .subtitle {
      margin-top: 1.5rem;
}

.posts {
      min-height: 500px;
}

.video {
      max-height: 500px; 
      height: auto;
}

.team-member {
      text-align: center;
      margin-bottom: 2rem;
}
.team-member img {
      border-radius: 50%;
      margin-bottom: 1rem;
}

.feature-icon {
      color: #00d1b2;
      margin-bottom: 1rem;
}

.schedule-section {
      background-color: #f5f5f5;
      padding: 2rem;
      border-radius: 8px;
}
.cta-section {
      background-color: #40726b;
      color: white;
      padding: 2rem;
      text-align: center;
      border-radius: 8px;
}
.cta-section .button {
      margin-top: 1rem;
}

.cta-section .title {
      color: white;
}

.save-time {
      margin-top: 150px;
}

#calendar {
      max-width: 1200px;
      max-height: 700px;
      margin: 40px auto;
    }
.fc-event.Published {
      color: gray; /* Màu chữ xám cho trạng thái Published */
}
.fc-event.Scheduled {
}

.help {
      font-size: 0.85rem;
}

/* Video preview container */
.video-preview {
    overflow: hidden;
    margin: 0 150px;
    border: 10px solid #111111;
    border-radius: 30px;
    background: black;
    min-height: 550px;
}

/* Video container to position content over the video */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 550px;
}

/* Overlay content that will be placed over the video */
.video-preview .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

/* User info styling */
.video-preview .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.video-preview .username {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Video title styling */
.video-preview .video-title {
    margin-bottom: 10px;
}

/* Icons styling - updated to align vertically and separate icon from number */
.video-preview .action-icons {
    display: flex;
    flex-direction: column; /* Arrange icons in a vertical line */
    align-items: flex-end; /* Align icons to the left */
    padding-top: 10px;
    margin-right: -10px;
}

.video-preview .icon {
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    align-items: center; /* Center align the icon and text */
    margin-bottom: 15px; /* Space between icons */
    cursor: pointer;
    height: 2.2rem;
    width: 2.2rem;
}

.video-preview .icon i {
    font-size: 1.2rem;
}

.video-preview .icon-text {
    font-size: 0.9rem;
     /* Space between icon and text */
}

/* Avatar styling */
.video-preview .avatar {
    max-height: 40px;
    border-radius: 50%;
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
    .video-preview {
        padding: 0 20px; /* Reduce padding on small screens */
    }

    .video-preview .action-icons {
        align-items: flex-start; /* Ensure icons are still aligned left */
        margin-left: 0;
    }

    .video-preview .icon {
        margin-bottom: 10px; /* Space between icons on smaller screens */
    }
}


/* Style for the switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 50px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

/* When the checkbox is checked */
input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(16px);
}


.account-details .platform-info {
  position: relative;
  margin-bottom: 20px;
}

.account-details .platform-name {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.account-details .platform-name i {
  margin-right: 10px;
}

.account-details .account-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 10px;
}

.account-details .columns.is-multiline .column {
  padding: 10px;
}

.account-details .button {
  width: 100%;
}

.account-details .button i {
    margin-right: 10px;
}

.dropdown-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin-right: 10px;
}

.dropdown-item {
    display: flex;
    align-items: center;
}

.dropdown .is-active {
      display: block;
}

.dropdown .is-rounded {
      border-radius: 50%;
}

.account-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-info {
    display: flex;
    align-items: center;
}

.account-info .avatar {
    margin-right: 8px;
}

.platform-icon {
    margin-left: 8px;
}
