/* Channel User Registration Plugin Styles */

/* Registration Form Styles */
.cur-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.cur-form-container h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
}
.cur-form-group {
    margin-bottom: 20px;
}
.cur-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4b5563;
    font-size: 15px;
}
.cur-form-group input[type="text"],
.cur-form-group input[type="email"],
.cur-form-group input[type="number"],
.cur-form-group input[type="url"],
.cur-form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.cur-form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.cur-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.cur-submit-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}
#cur-preview-btn {
    width: 100%;
    padding: 14px;
    background-color: #6b7280;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
}
#cur-preview-btn:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}


/*
/* --- Channel Filter Layout --- */
.channel-filter {
  width: 100%;
  margin: 0;
  padding: 0;
}

.channel-filter > div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0.75rem; /* balanced padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.channel-filter > div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

/* --- Search Form --- */
.channel-filter form {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}

/* --- Search Input (Full Width, Tight Edges) --- */
.channel-filter input[type="text"] {
  width: 100%;
  height: 46px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 0.6rem 1rem 0.6rem 2.75rem;
  font-size: 15px;
  color: #1e293b;
  background-color: #f9fafb;
  outline: none;
  transition: all 0.25s ease;
  margin: 0;
}

.channel-filter input[type="text"]:hover {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.channel-filter input[type="text"]:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* --- Search Icon --- */
.channel-filter form button[aria-label="Search"] {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  transition: color 0.25s ease;
}

.channel-filter form button[aria-label="Search"]:hover {
  color: #2563eb;
}

/* --- Button Base (Filter + Reset) --- */
.channel-filter button,
.channel-filter a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.25s ease;
  padding: 0 1rem;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
  margin: 0;
}

/* --- Filter Button --- */
#openFilterModal {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  margin-top: -20px;
}

#openFilterModal:hover {
  background: linear-gradient(90deg, #1d4ed8, #1e40af);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* --- Reset Button --- */
.channel-filter a[title="Clear all filters"] {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  text-decoration: none;
}

.channel-filter a[title="Clear all filters"]:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827;
  transform: translateY(-1px);
}

/* --- Icon Adjustments --- */
.channel-filter button svg,
.channel-filter a svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  transition: transform 0.2s ease;
}

.channel-filter button:hover svg,
.channel-filter a:hover svg {
  transform: scale(1.1);
}

/* --- Responsive for Mobile --- */
@media (max-width: 640px) {
  .channel-filter > div {
    gap: 0.4rem;
    padding: 0.5rem;
  }

  .channel-filter button span,
  .channel-filter a span {
    display: none !important;
  }

  .channel-filter button svg,
  .channel-filter a svg {
    margin-right: 0;
  }

  #openFilterModal,
  .channel-filter a[title="Clear all filters"] {
    padding: 0;
    width: 44px;
    min-width: 44px;
  }
}


/*
/* Profile Page Styles */
.cur-profile-container {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.cur-profile-container h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
}
.profile-form-group {
    margin-bottom: 20px;
}
.profile-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4b5563;
    font-size: 15px;
}
.profile-form-group input[type="text"],
.profile-form-group input[type="email"],
.profile-form-group input[type="number"],
.profile-form-group input[type="url"],
.profile-form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.profile-form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.profile-form-group input[readonly] {
    background-color: #f3f4f6;
    cursor: not-allowed;
}
.profile-form-group .current-logo img {
    max-width: 120px;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.profile-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.profile-submit-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}
.delete-profile-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background-color: #ef4444;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.delete-profile-btn:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}
.cur-message {
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid transparent;
    font-size: 16px;
}
.success-message {
    color: #166534;
    background-color: #dcfce7;
    border-color: #bbf7d0;
}
.error-message {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fecaca;
}

/* User List Shortcode Styles */
.channel-filter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f7f9fc;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.channel-filter-form input[type="text"],
.channel-filter-form select {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    max-width: 250px;
    flex: 1;
    transition: border-color 0.3s;
}
.channel-filter-form input[type="text"]:focus,
.channel-filter-form select:focus {
    outline: none;
    border-color: #2563eb;
}
.filter-btn {
    padding: 12px 25px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.filter-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    justify-content: center;
    position: relative;
}
.channel-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 350px;
}
.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.channel-card img.logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0px;
    border: 4px solid #f3f4f6;
    transition: border-color 0.3s;
    margin-top: -35px;
}
.channel-card:hover img.logo {
    border-color: #2563eb;
}
.channel-card h3 {
    font-size: 22px;
    margin: 10px 0;
    color: #1f2937;
    font-weight: 700;
margin-top: -10px;
    margin-bottom: -20px;
}
.channel-card .category {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0px;
    font-style: italic;
}
.channel-card .subscribers {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
}
.channel-card .buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-link .btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}
.btn-subscribe {
    background: #dc2626;
    color: #ffffff;
}
.btn-subscribe:hover {
    background: #b91c1c;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.rating-display-shortcode {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
    margin-top: -70px;
}
.rating-display-shortcode .rating-stars {
    font-size: 2.25em;
}
.no-channels-found {
    text-align: center;
    font-size: 20px;
    color: #6b7280;
    padding: 50px 0;
}
@media (max-width: 768px) {
    .channel-filter-form {
        flex-direction: column;
        gap: 10px;
    }
    .channel-filter-form input,
    .channel-filter-form select,
    .filter-btn {
        max-width: none;
        width: 100%;
    }
    .channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
@media (min-width: 769px) {
    .channel-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Rating Shortcode Styles */
.cur-rating-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}
.cur-rating-container h3 {
    margin-top: 0;
    font-size: 24px;
    color: #1f2937;
}
.cur-rating-form .stars {
    font-size: 3em;
    color: #facc15;
    cursor: pointer;
    user-select: none;
}
.cur-rating-form .stars span {
    display: inline-block;
    transition: transform 0.2s;
}
.cur-rating-form .stars span:hover {
    transform: scale(1.2);
}
.cur-rating-form .stars .selected {
    color: #facc15;
}
.cur-rating-form .stars .unselected {
    color: #d1d5db;
}
.cur-rating-form input[type="radio"] {
    display: none;
}
.cur-rating-form .cur-submit-btn {
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.cur-rating-form .cur-submit-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

/* View Other User Profile Shortcode Styles */
.single-profile-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    position: relative;
}
.single-profile-container h2 {
    font-size: 28px;
    color: #1f2937;
    margin: 15px 0;
}
.single-profile-container .logo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #2563eb;
    margin-bottom: 20px;
}
.single-profile-container .details {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.single-profile-container .details p {
    font-size: 16px;
    color: #4b5563;
    margin: 8px 0;
}
.single-profile-container .details strong {
    color: #111827;
}
.profile-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.profile-buttons .btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}
.profile-buttons .btn-link img {
    width: 22px;
    height: 22px;
}
.btn-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
}
.btn-insta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(221, 51, 153, 0.4);
}
.btn-subscribe {
    background: #dc2626;
    color: #ffffff;
}
.btn-subscribe:hover {
    background: #b91c1c;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.better-chat-btn .bp-messages-wrap .chat-button {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}
.better-chat-btn .bp-messages-wrap .chat-button:hover {
    background: #1d4ed8 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}
.rating-display {
    font-size: 1.3em;
    color: #facc15;
    margin: 10px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rating-stars {
    color: #d1d5db;
    font-size: 1.56em;
}
.rating-stars .filled {
    color: #facc15;
}

/* Bookmark Button Styles */
.bookmark-positioner {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
}
.btn-bookmark {
    background: #e5e7eb;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    transition: background-color 0.3s, transform 0.2s;
}
.btn-bookmark:hover {
    background: #d1d5db;
    transform: scale(1.05);
}
.btn-bookmark.bookmarked {
    background: #f59e0b;
    color: #1f2937;
}
.btn-bookmark.bookmarked:hover {
    background: #d97706;
}
.btn-bookmark.login-required {
    background: #e5e7eb;
    color: #4b5563;
    margin-top: -20px;
    margin-right: -16px;

}
.btn-bookmark.login-required:hover {
    background: #d1d5db;
}
.btn-bookmark img {
    width: 30px;
    height: 30px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.btn-bookmark.bookmarked img {
    filter: none;
    content: url('https://img.icons8.com/color/50/bookmark-ribbon.png');
}




























/* Bookmark Modal Styles */
.cur-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.cur-modal-inner {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
}
.cur-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s;
}
.cur-modal-close:hover {
    color: #1f2937;
}
.cur-bookmark-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.cur-bookmark-options label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #1f2937;
    cursor: pointer;
}
.cur-bookmark-options input[type="radio"] {
    margin-right: 10px;
}
.cur-bookmark-note input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}
.cur-modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.cur-save-bookmark {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #16a34a;
    color: #ffffff;
    transition: background 0.3s, transform 0.2s;
}
.cur-save-bookmark:hover {
    background: #15803d;
    transform: translateY(-2px);
}
.cur-cancel-bookmark {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #ef4444;
    color: #ffffff;
}
.cur-cancel-bookmark:hover {
    background: #dc2626;
    transform: translateY(-2px);
}
.cur-modal-message {
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
}

/* Bookmark List Styles */
.cur-bookmarks-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.cur-bookmarks-wrap h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 25px;
}
.cur-bookmark-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cur-bookmark-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9f9f9;
    transition: box-shadow 0.3s;
}
.cur-bookmark-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.bookmark-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
}
.bookmark-meta {
    flex: 1;
}
.bookmark-meta strong {
    font-size: 18px;
    color: #1f2937;
}
.bookmark-meta small {
    display: block;
    color: #6b7280;
    margin-top: 5px;
}
.bookmark-meta em {
    display: block;
    color: #4b5563;
    font-style: italic;
    margin-top: 5px;
}
.bookmark-actions {
    display: flex;
    gap: 10px;
}
.bookmark-actions button, .bookmark-actions a {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}
.bookmark-actions .btn-open-bookmark-modal {
    background: #f59e0b;
    color: #ffffff;
    border: none;
    cursor: pointer;
}
.bookmark-actions .btn-open-bookmark-modal:hover {
    background: #d97706;
}
.bookmark-actions .btn-remove-bookmark {
    background: #ef4444;
    color: #ffffff;
    border: none;
    cursor: pointer;
}
.bookmark-actions .btn-remove-bookmark:hover {
    background: #dc2626;
}
.bookmark-actions .btn-link {
    background: #2563eb;
    color: #ffffff;
}
.bookmark-actions .btn-link:hover {
    background: #1d4ed8;
}


body.pagelayer-body a {
    text-decoration-line: none;
    margin-top:-20px;
}


.btn-bookmark.bg-yellow-400 {
    background-color: #facc15 !important;
    color: #78350f !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  
}

/* Responsive Design */
@media (max-width: 768px) {
    .single-profile-container {
        margin: 20px;
        padding: 20px;
    }
    .single-profile-container h2 {
        font-size: 22px;
    }
    .single-profile-container .logo {
        width: 120px;
        height: 120px;
    }
    .profile-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .profile-buttons .btn-link {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }
    .cur-form-container, .cur-profile-container, .cur-bookmarks-wrap {
        margin: 20px;
        padding: 20px;
    }
}
@media (min-width: 640px) {
    .single-profile-container .details {
        grid-template-columns: repeat(2, 1fr);
    }
}