/**
 * Rising Stars — OLD CLIENT
 * Full-site page coverage (feed, profile, settings, social modules).
 * Theme-only: content/themes/oldclient
 */

/* ---- Footer ---- */
body .footer,
body .footer-wrapper,
body .main-footer,
body .rs-site-footer,
body .footer-bottom-bar {
  background: linear-gradient(180deg, rgba(6, 16, 31, 0.98), #02060e) !important;
  border-top: 2px solid var(--oc-gold-dim, #785a28) !important;
  color: var(--oc-muted, #a09b8c) !important;
  border-radius: 0 !important;
}
body .footer a,
body .footer-wrapper a,
body .main-footer a {
  color: var(--oc-gold, #c8aa6e) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.06em;
}

/* ---- Pagination / tabs / nav pills ---- */
body .pagination .page-link,
body .nav-pills .nav-link,
body .nav-tabs .nav-link,
body .content-tabs li a,
body ul.nav-tabs > li > a {
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.9), rgba(6, 16, 31, 0.95)) !important;
  border: 1px solid var(--oc-frame, #1a3a5c) !important;
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
}
body .pagination .page-item.active .page-link,
body .nav-pills .nav-link.active,
body .nav-tabs .nav-link.active,
body .content-tabs li.active a,
body ul.nav-tabs > li.active > a {
  background: transparent !important;
  border-color: transparent !important;
  border-bottom: 2px solid var(--oc-cyan, #0ac8b9) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ---- Profile ---- */
body .profile-header,
body .profile-header-wrapper,
body .profile-cover-wrapper {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  box-shadow: 0 0 0 1px rgba(26, 58, 92, 0.85), 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}
body .profile-header .profile-name,
body .profile-header h2,
body .profile-header .name {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
body .profile-tabs,
body .profile-header-tabs,
body .profile-buttons .btn {
  border-radius: 0 !important;
}
body .about-list,
body .about-list-item {
  color: var(--oc-text, #f0e6d2) !important;
  font-family: var(--oc-font-body, Spectral, serif) !important;
}
body .about-bio {
  border-left: 2px solid var(--oc-cyan, #0ac8b9);
  padding-left: 0.85rem;
  color: var(--oc-text, #f0e6d2);
}

/* ---- Settings ---- */
body .settings-sidebar,
body .settings-page .card,
body .settings .list-group-item,
body .list-group-item {
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.7), rgba(6, 16, 31, 0.95)) !important;
  border-color: rgba(200, 170, 110, 0.22) !important;
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
}
body .settings-sidebar a,
body .list-group-item-action {
  color: var(--oc-text, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}
body .list-group-item-action:hover,
body .list-group-item-action.active,
body .settings-sidebar li.active a {
  background: linear-gradient(90deg, rgba(10, 150, 170, 0.2), transparent) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  border-left: 2px solid var(--oc-cyan, #0ac8b9) !important;
}
body .form-label,
body label.form-label {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold, #c8aa6e) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}
body .form-text,
body .help-block {
  color: var(--oc-muted, #a09b8c) !important;
}

/* ---- Publisher / compose ---- */
body .publisher,
body .publisher-overlay,
body .js_publisher {
  border-radius: 0 !important;
}
body .publisher-slider,
body .publisher-tools,
body .publisher-meta {
  border-color: rgba(200, 170, 110, 0.2) !important;
}
body .publisher textarea,
body .publisher .form-control {
  font-family: var(--oc-font-body, Spectral, serif) !important;
  color: var(--oc-text, #f0e6d2) !important;
}

/* ---- Chat ---- */
body .chat-sidebar,
body .chat-widget,
body .chat-box,
body #chat-box,
body .x-chat,
body .chat-conversations,
body .chat-message {
  background: linear-gradient(180deg, #0e1f3d, #06101f) !important;
  border: 1px solid rgba(200, 170, 110, 0.28) !important;
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
}
body .chat-head,
body .chat-header {
  background: rgba(14, 31, 61, 0.95) !important;
  border-bottom: 1px solid var(--oc-gold-dim, #785a28) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
}

/* ---- People / pages / groups / events cards ---- */
body .feeds-wrapper .feeds-item,
body .page-card,
body .group-card,
body .event-card,
body .people-card,
body .boosted-post,
body .article-wrapper,
body .blog-container .card {
  border-radius: 0 !important;
  border: 1px solid rgba(200, 170, 110, 0.28) !important;
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.65), rgba(6, 16, 31, 0.95)) !important;
  box-shadow: 0 0 0 1px rgba(26, 58, 92, 0.7), 0 14px 36px rgba(0, 0, 0, 0.45) !important;
}

/* ---- Modals / offcanvas / lightbox ---- */
body .modal-content,
body .offcanvas,
body .swal2-popup,
body .popover,
body .tooltip-inner {
  border-radius: 0 !important;
  background: linear-gradient(180deg, #0e1f3d, #06101f) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  color: var(--oc-text, #f0e6d2) !important;
}
body .modal-title,
body .swal2-title {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body .btn-close {
  filter: invert(0.85) sepia(0.4) saturate(2) hue-rotate(5deg);
}

/* ---- Sign in / landing fragments ---- */
body .sign-form,
body .fr_welcome_sign,
body .login-form,
body .js_ajax-forms .card {
  border-radius: 0 !important;
}
body .btn-social {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.95), rgba(6, 16, 31, 0.98)) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Notifications / dropdown panels ---- */
body .dropdown-widget,
body .js_dropdown-keepopen .dropdown-menu,
body .notifications-list,
body .dropdown-menu-rich {
  border-radius: 0 !important;
  background: linear-gradient(180deg, #0e1f3d, #06101f) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
}
body .notifications-list li,
body .dropdown-widget li {
  border-color: rgba(200, 170, 110, 0.12) !important;
  color: var(--oc-text, #f0e6d2) !important;
}
body .notifications-list li:hover,
body .dropdown-widget li:hover {
  background: rgba(10, 150, 170, 0.14) !important;
}

/* ---- Search results / marketplace leftovers ---- */
body .search-wrapper .dropdown-menu,
body .market-item,
body .job-card,
body .course-card {
  border-radius: 0 !important;
  border: 1px solid rgba(200, 170, 110, 0.25) !important;
  background: rgba(6, 16, 31, 0.95) !important;
}

/* ---- Sticky sidebar polish ---- */
body .js_sticky-sidebar .card,
body .left-sidebar .card,
body .right-sidebar .card {
  overflow: hidden;
}
body .widget-box .title,
body .card-title {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
}

/* ---- Empty / rail widgets (rs-social) ---- */
body .rs-empty,
body .rs-rail__card {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(10, 150, 170, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(14, 31, 61, 0.9), rgba(6, 16, 31, 0.98)) !important;
  box-shadow: 0 0 0 1px rgba(26, 58, 92, 0.85), 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}
body .rs-empty__mark {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold, #c8aa6e) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  box-shadow: 0 0 14px rgba(10, 200, 185, 0.2);
}
body .rs-empty__title,
body .rs-rail__title,
body .rs-rail__eyebrow,
body .rs-rail__head h3 {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  letter-spacing: 0.12em;
}
body .rs-rail-match {
  border: 1px solid rgba(200, 170, 110, 0.18);
  background: rgba(14, 31, 61, 0.35);
  padding: 0.65rem 0.75rem;
}

/* ---- Admin peek if ever viewed with theme ---- */
body .x-admin,
body .control-panel {
  font-family: var(--oc-font-body, Spectral, serif);
}

/* ---- Generic sharp edges ---- */
body .rounded,
body .rounded-3,
body .rounded-4,
body img.rounded {
  border-radius: 2px !important;
}
body .rounded-circle,
body .avatar img,
body .tbl-image,
body .user-avatar img {
  /* keep circular avatars */
  border-radius: 50% !important;
  border: 1px solid rgba(200, 170, 110, 0.45);
  box-shadow: 0 0 0 1px rgba(10, 150, 170, 0.2);
}

/* ---- Toasts ---- */
body .toast,
body .esports-toast {
  border-radius: 0 !important;
  background: linear-gradient(180deg, #0e1f3d, #06101f) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  color: var(--oc-text, #f0e6d2) !important;
}
