/* ==========================================================================
   FansClub Upgrade-Proof Dark-Glass Modal System
   Applies consistently across custom and standard pages in light & dark mode
   ========================================================================== */

/* 1. Backdrop & Modal Container
   ========================================================================== */
.modal-backdrop {
  background-color: #04060a !important;
}

.modal-backdrop.show {
  opacity: 1 !important;
  background: rgba(4, 6, 10, 0.82) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.modal {
  color: #ffffff;
}

.modal .modal-content {
  background: rgba(14, 18, 26, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  overflow: hidden;
}

.modal.fade .modal-dialog {
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
}

/* 2. Header, Body, Footer & Nested Cards
   ========================================================================== */
.modal .modal-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 24px 16px;
  color: #ffffff !important;
  align-items: center;
}

.modal .modal-header.border-bottom-0,
.modal .modal-header.border-0 {
  border-bottom: none !important;
}

.modal .modal-body {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.modal .modal-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 16px 24px 20px;
}

.modal .modal-footer.border-0,
.modal .modal-footer.border-top-0 {
  border-top: none !important;
}

/* Override Sponzy's .card.bg-white.shadow.border-0 wrappers inside modals */
.modal .card,
.modal .card.bg-white,
.modal .card.bg-light,
.modal .bg-white,
.modal .bg-light {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.modal .card {
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
}

.modal .card-body {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.modal .card-header:not([style*="background"]) {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.modal .card-header[style*="background"] {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal .card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Composer cards inside massive message & comment edit modals */
.modalEditPost .modal-body .card,
.modalEditComment .modal-body .card {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
}

/* 3. Borders, Dividers & Utility Classes
   ========================================================================== */
.modal .border {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.modal .border-top {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.modal .border-bottom {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.modal .border-left {
  border-left-color: rgba(255, 255, 255, 0.1) !important;
}

.modal .border-right {
  border-right-color: rgba(255, 255, 255, 0.1) !important;
}

.modal hr,
.modal .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.modal .or {
  color: rgba(255, 255, 255, 0.55) !important;
}

.modal .or::before,
.modal .or::after {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* 4. Typography & Links
   ========================================================================== */
.modal h1,
.modal h2,
.modal h3,
.modal h4,
.modal h5,
.modal h6,
.modal .modal-title,
.modal strong,
.modal b {
  color: #ffffff !important;
}

.modal .modal-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.modal p,
.modal label {
  color: rgba(255, 255, 255, 0.85);
}

.modal .text-dark,
.modal .text-body,
.modal .text-black-50 {
  color: rgba(255, 255, 255, 0.88) !important;
}

.modal .text-muted,
.modal .form-text,
.modal small {
  color: rgba(255, 255, 255, 0.68) !important;
}

.modal .text-primary {
  color: #69b1ff !important;
}

.modal .text-danger {
  color: #f87171 !important;
}

.modal .text-warning {
  color: #fbbf24 !important;
}

.modal .text-success {
  color: #4ade80 !important;
}

.modal .text-info {
  color: #69b1ff !important;
}

.modal a:not(.btn):not(.choose-type-sale):not(.dropdown-item):not(.nav-link):not(.list-group-item) {
  color: #69b1ff !important;
  transition: color 0.18s ease;
}

.modal a:not(.btn):not(.choose-type-sale):not(.dropdown-item):not(.nav-link):not(.list-group-item):hover {
  color: #ffffff !important;
  text-decoration: none;
}

.modal .link-border {
  border-bottom: 1px solid rgba(105, 177, 255, 0.45);
}

.modal .link-border:hover {
  border-bottom-color: #ffffff;
}

/* Avatar inside modals (tip, private live, pay live) */
.modal .avatar-modal,
.modal .wrapper-live img {
  border: 3px solid #0e121a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  background-color: #141923;
}

/* 5. Close Buttons
   ========================================================================== */
.modal .close,
.modal .close-inherit,
.modal .btn-close,
.modal .btn-cancel-msg {
  color: rgba(255, 255, 255, 0.65) !important;
  text-shadow: none !important;
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.modal .modal-header .close {
  margin: -4px -4px -4px auto;
}

.modal .btn-cancel-msg {
  position: absolute;
  top: 0;
  right: 0;
}

.modal .close:hover,
.modal .close-inherit:hover,
.modal .btn-close:hover,
.modal .btn-cancel-msg:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05);
}

.modal .close span,
.modal .close i,
.modal .btn-cancel-msg i {
  color: inherit !important;
  line-height: 1;
}

/* 6. Form Controls, Inputs, Selects & Input Groups
   ========================================================================== */
.modal .form-control,
.modal textarea.form-control,
.modal .custom-select,
.modal select.form-control {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  color-scheme: dark;
  box-shadow: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.modal .form-control::placeholder,
.modal textarea.form-control::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.modal .form-control:focus,
.modal textarea.form-control:focus,
.modal .custom-select:focus,
.modal select.form-control:focus {
  background-color: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(105, 177, 255, 0.65) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.2) !important;
  outline: none !important;
}

.modal .form-control:disabled,
.modal .form-control[readonly],
.modal .custom-select:disabled {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  cursor: not-allowed;
}

.modal .custom-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='none' stroke='%23ffffff' stroke-opacity='0.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5L6 8l3.5-3.5'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.85rem center !important;
  background-size: 12px 12px !important;
  padding-right: 2.25rem !important;
}

.modal select option,
.modal .custom-select option {
  background-color: #0e121a !important;
  color: #ffffff !important;
}

/* Seamless borderless textareas inside composer cards */
.modal .card textarea.form-control.border-0 {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

/* Input Groups */
.modal .input-group {
  border-radius: 12px;
}

.modal .input-group-alternative {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.modal .input-group-alternative:focus-within {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(105, 177, 255, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.2) !important;
}

.modal .input-group-alternative .form-control,
.modal .input-group-alternative .form-control:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.modal .input-group-alternative .input-group-text {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.modal .input-group:not(.input-group-alternative) .input-group-text {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.modal .input-group:not(.input-group-alternative) > .input-group-prepend > .input-group-text {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
  border-right: none !important;
}

.modal .input-group:not(.input-group-alternative) > .input-group-append > .input-group-text {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  border-left: none !important;
}

.modal .input-group:not(.input-group-alternative) > .input-group-prepend + .form-control,
.modal .input-group:not(.input-group-alternative) > .input-group-prepend + .custom-select {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Search inputs inside #newMessageForm & #modalVault */
.modal .btn-new-msg {
  color: rgba(255, 255, 255, 0.55) !important;
}

.modal .input-new-msg {
  padding-left: 38px !important;
  border-radius: 999px !important;
}

/* File inputs */
.modal .custom-file-label {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.modal .custom-file-label::after {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* 2FA Code Inputs (#modal2fa) */
.modal .code-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.modal .code-inputs .code-input {
  width: 52px !important;
  height: 54px !important;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 0 !important;
  border-radius: 14px !important;
}

/* Stripe Element inside Tip / PPV Modals */
.modal .StripeElement,
.modal #card-element,
.modal #card-elementPPV {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  color: #ffffff !important;
}

.modal .StripeElement--focus {
  border-color: rgba(105, 177, 255, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.2) !important;
}

/* 7. Custom Checkboxes, Radios, Switches & Payment Options
   ========================================================================== */
.modal .custom-control-label {
  color: rgba(255, 255, 255, 0.85) !important;
  cursor: pointer;
}

.modal .custom-control-label::before {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
}

.modal .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #2684ff !important;
  border-color: #2684ff !important;
}

.modal .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.25) !important;
  border-color: #69b1ff !important;
}

.modal .custom-switch .custom-control-label::after {
  background-color: rgba(255, 255, 255, 0.85) !important;
}

.modal .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #ffffff !important;
}

/* Payment Method Option Cards (Tip, PPV, Buy, Live, Private Live) */
.modal .custom-control.custom-radio {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px 12px 40px !important;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.modal .custom-control.custom-radio:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}

.modal .custom-control.custom-radio .custom-control-label {
  width: 100%;
  display: block;
}

.modal .custom-control.custom-radio .custom-control-label::before,
.modal .custom-control.custom-radio .custom-control-label::after {
  top: 0.2rem;
  left: -1.65rem;
}

.modal .custom-control.custom-radio:has(.custom-control-input:checked) {
  background: rgba(38, 132, 255, 0.12);
  border-color: rgba(105, 177, 255, 0.55);
}

.modal .custom-control.custom-radio .custom-control-input:disabled ~ .custom-control-label {
  opacity: 0.55;
  cursor: not-allowed;
}

/* 8. Choice Cards, Gifts, Lists, Taxes, Tables, Badges, Tabs & Alerts
   ========================================================================== */
/* Add Story / Add Shop Item choice cards */
.modal a.card.choose-type-sale,
.modal .choose-type-sale {
  display: block;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal a.card.choose-type-sale:hover,
.modal .choose-type-sale:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(105, 177, 255, 0.55) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

.modal .choose-type-sale h6 {
  color: #ffffff !important;
  font-weight: 600;
}

.modal .choose-type-sale small {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Gifts Grid (#giftsForm) */
.modal .btn-group-radio .btn-radio {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  margin: 6px !important;
  padding: 12px 10px !important;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.modal .btn-group-radio .btn-radio:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
}

.modal .btn-group-radio .btn-radio.active,
.modal .btn-group-radio .btn-radio:has(input:checked) {
  background: rgba(38, 132, 255, 0.18) !important;
  border-color: #69b1ff !important;
  box-shadow: 0 0 0 2px rgba(38, 132, 255, 0.25) !important;
}

/* List Groups & Tax Summaries */
.modal .list-group {
  background: transparent !important;
}

.modal .border-dashed-radius {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px dashed rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  padding: 6px 12px !important;
  margin-top: 12px;
}

.modal .list-group-item,
.modal .list-group-item.list-taxes {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.modal a.list-group-item:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
}

/* Alerts */
.modal .alert {
  border-radius: 12px !important;
  border-width: 1px !important;
  font-size: 13.5px;
}

.modal .alert-danger {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
}

.modal .alert-success {
  background: rgba(34, 197, 94, 0.14) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
  color: #86efac !important;
}

.modal .alert-warning {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fcd34d !important;
}

.modal .alert-info {
  background: rgba(38, 132, 255, 0.14) !important;
  border-color: rgba(105, 177, 255, 0.35) !important;
  color: #93c5fd !important;
}

/* Badges */
.modal .badge-light,
.modal .badge-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.modal .badge-primary {
  background: #2684ff !important;
  color: #ffffff !important;
}

/* Tabs & Pills */
.modal .nav-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal .nav-tabs .nav-link,
.modal .nav-pills .nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  margin-right: 6px;
}

.modal .nav-tabs .nav-link.active,
.modal .nav-pills .nav-link.active {
  background: #ffffff !important;
  color: #05070a !important;
  border-color: #ffffff !important;
  font-weight: 600;
}

/* Tables */
.modal .table {
  color: rgba(255, 255, 255, 0.88) !important;
}

.modal .table th,
.modal .table td {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.modal .table thead th {
  color: rgba(255, 255, 255, 0.65) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

/* 9. Buttons inside Modals
   ========================================================================== */
.modal .btn {
  border-radius: 999px !important;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

/* Primary CTA: Crisp White Pill (matches landing & creators primary buttons) */
.modal .btn-primary {
  background: #ffffff !important;
  color: #05070a !important;
  border: 1px solid #ffffff !important;
  padding-left: 24px;
  padding-right: 24px;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12) !important;
}

.modal .btn-primary *,
.modal .btn-primary small,
.modal .btn-primary span,
.modal .btn-primary i {
  color: #05070a !important;
}

.modal .btn-primary:hover:not(:disabled),
.modal .btn-primary:focus:not(:disabled) {
  background: #f0f4fa !important;
  color: #05070a !important;
  border-color: #f0f4fa !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 255, 255, 0.22) !important;
}

.modal .btn-primary:disabled,
.modal .btn-primary.disabled {
  opacity: 0.45 !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* Secondary / Cancel / Ghost Buttons */
.modal .btn-secondary,
.modal .btn-light,
.modal .btn-outline-secondary,
.modal .btn-outline-primary {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding-left: 20px;
  padding-right: 20px;
}

.modal .btn-secondary:hover,
.modal .btn-light:hover,
.modal .btn-outline-secondary:hover,
.modal .btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

.modal .btn.e-none:not(.btn-primary):not(.btn-upload):not(.btn-post):not(.btn-danger) {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
  border: none !important;
  box-shadow: none !important;
}

.modal .btn.e-none:not(.btn-primary):not(.btn-upload):not(.btn-post):not(.btn-danger):hover {
  color: #ffffff !important;
}

/* Upload / Composer Icon Buttons inside Modals */
.modal .btn-upload,
.modal .btn-post {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border: none !important;
}

.modal .btn-upload:hover,
.modal .btn-post:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #69b1ff !important;
}

/* Semantic Action Buttons */
.modal .btn-danger {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid #ef4444 !important;
}

.modal .btn-danger:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.32) !important;
}

.modal .btn-success {
  background: #22c55e !important;
  color: #05070a !important;
  border: 1px solid #22c55e !important;
}

.modal .btn-success:hover {
  background: #16a34a !important;
  color: #ffffff !important;
}

.modal .btn-white {
  background: #ffffff !important;
  color: #05070a !important;
  border: 1px solid #ffffff !important;
  padding: 8px 20px;
}

.modal .btn-white:hover {
  background: #f0f4fa !important;
  color: #05070a !important;
}

/* Social OAuth Buttons inside #loginFormModal */
.modal .btn-google {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.modal .btn-google:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.modal .btn-twitter {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* 10. Specialized Modals (Calls, Reports, Vault, Age/Adult Alerts)
   ========================================================================== */
/* Audio & Video Call Modals */
.modal .modal-content-call {
  background: radial-gradient(ellipse at 50% 0%, rgba(38, 132, 255, 0.16) 0%, rgba(14, 18, 26, 0.98) 65%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.modal .profile-image-call img {
  border: 3px solid rgba(105, 177, 255, 0.45) !important;
  box-shadow: 0 0 28px rgba(38, 132, 255, 0.25);
}

.modal .caller-name {
  color: #ffffff !important;
  font-weight: 700;
}

.modal .calling-status {
  color: rgba(255, 255, 255, 0.68) !important;
}

.modal .btn-accept {
  background: #22c55e !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
}

.modal .btn-accept:hover {
  background: #16a34a !important;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35) !important;
}

.modal .btn-reject {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
}

.modal .btn-reject:hover {
  background: #dc2626 !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35) !important;
}

/* Report / Danger Modals */
.modal .modal-danger .modal-content,
.modalReport .modal-content {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.12) 0%, rgba(14, 18, 26, 0.98) 42%) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

.modalReport .btn.border.text-white {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  padding: 8px 20px;
}

.modalReport .btn.border.text-white:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* Adult & Age Verification Modals */
#alertAdult .modal-content,
#alertAgeVerification .modal-content {
  padding: 6px 4px;
}

#alertAdult p,
#alertAgeVerification p {
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.55;
}

/* Vault Footer */
#modalVault .vault-footer {
  background: rgba(8, 11, 17, 0.92) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Spinners */
.modal .spinner-border.text-primary {
  color: #69b1ff !important;
}

/* 11. Custom Dark Scrollbars inside Modals
   ========================================================================== */
.modal .modal-body::-webkit-scrollbar,
.modal .custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.modal .modal-body::-webkit-scrollbar-track,
.modal .custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.modal .modal-body::-webkit-scrollbar-thumb,
.modal .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.modal .modal-body::-webkit-scrollbar-thumb:hover,
.modal .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* 12. Responsive Mobile Refinements & Reduced Motion
   ========================================================================== */
@media (max-width: 576px) {
  .modal .modal-dialog {
    margin: 0.75rem;
  }

  .modal .modal-content {
    border-radius: 16px !important;
  }

  .modal .modal-header {
    padding: 16px 18px 12px;
  }

  .modal .modal-footer {
    padding: 12px 18px 16px;
  }

  .modal .card-body {
    padding: 20px 18px !important;
  }

  .modal .code-inputs .code-input {
    width: 46px !important;
    height: 48px !important;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog,
  .modal .btn,
  .modal .choose-type-sale,
  .modal .btn-group-radio .btn-radio,
  .modal .close,
  .modal .btn-cancel-msg {
    transition: none !important;
    transform: none !important;
  }
}
