/* ==========================================================================
   Deep Audiobooks – Login / Register modals (split layout)
   Additions only (prefix .au_). Same element ids as before, so js/auth.js keeps working.
   ========================================================================== */
.auth_modal .modal-dialog { max-width: 900px; margin: 1.5rem auto; padding: 0 12px; }
.auth_modal .modal-content { border: 0; border-radius: 26px; overflow: hidden; background: var(--box-color); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); padding: 0; }
.auth_modal.fade .modal-dialog { transform: translateY(30px) scale(.97); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.auth_modal.show .modal-dialog { transform: none; }
.modal-backdrop.show { opacity: .75; backdrop-filter: blur(4px); }

.au_shell { display: flex; min-height: 560px; font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; }
.au_shell h1, .au_shell h2, .au_shell h3, .au_shell p, .au_shell span, .au_shell a, .au_shell label, .au_shell input, .au_shell button, .au_shell small { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; text-transform: none; }

/* close button */
.au_close { position: absolute; right: 16px; top: 16px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer;
    font-size: 24px; line-height: 1; color: var(--heading-color); background: rgba(127, 127, 140, .16); transition: background .25s, transform .25s; padding: 0; }
.au_close:hover { background: #fa5b41; color: #fff; transform: rotate(90deg); }
.au_close:focus { outline: 0; }

/* ---------- left art panel ---------- */
.au_art { position: relative; flex: 0 0 41%; padding: 40px 34px; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(160deg, #1b1a4a 0%, #0b0a2e 55%, #04031d 100%); }
.au_art:before, .au_art:after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; }
.au_art:before { width: 260px; height: 260px; left: -90px; top: -80px; background: #fa5b41; }
.au_art:after { width: 240px; height: 240px; right: -90px; bottom: 40px; background: #6a5cff; }
.au_art > * { position: relative; z-index: 1; }
.au_logo img { height: 40px; width: auto; display: block; }
.au_art h2 { font-size: 29px; font-weight: 700; line-height: 1.3; color: #fff; margin: 34px 0 12px; }
.au_art h2 em { font-style: normal; background: linear-gradient(135deg, #ff8a50, #ffd2a8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.au_art > div > p { font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .72); margin: 0; }
.au_perks { list-style: none; margin: 26px 0 0; padding: 0; }
.au_perks li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.au_perks li i { flex: 0 0 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #ff8a50; }
.au_wave { display: flex; align-items: flex-end; gap: 4px; height: 38px; margin-top: 10px; }
.au_wave i { display: block; width: 4px; height: 8px; border-radius: 3px; background: linear-gradient(180deg, #ff8a50, #fa5b41); animation: au_bar 1.3s ease-in-out infinite; }
.au_wave i:nth-child(3n) { animation-delay: -.4s } .au_wave i:nth-child(3n+1) { animation-delay: -.8s } .au_wave i:nth-child(4n) { animation-delay: -1.1s }
@keyframes au_bar { 0%, 100% { height: 8px; } 50% { height: 36px; } }

/* ---------- right form panel ---------- */
.au_form { flex: 1 1 0; min-width: 0; padding: 52px 46px 38px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.au_form h3 { font-size: 28px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; padding: 0; color: var(--heading-color); }
.au_sub { font-size: 14.5px; line-height: 1.7; color: var(--para-color); margin: 0 0 26px; }

.au_field { position: relative; margin-bottom: 16px; }
.au_field label { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .3px; color: var(--para-color); margin: 0 0 7px 4px; }
.au_inp { position: relative; display: flex; align-items: center; }
.au_inp > i.au_ic { position: absolute; left: 16px; font-size: 15px; color: var(--para-color); pointer-events: none; transition: color .25s; }
.au_inp input { width: 100%; height: 52px; padding: 0 46px 0 46px; border-radius: 14px; font-size: 15px; outline: 0; box-shadow: none;
    color: var(--heading-color) !important; -webkit-text-fill-color: var(--heading-color); caret-color: #fa5b41;
    background: #f1f2f7 !important; border: 1.5px solid transparent !important; transition: border-color .25s, box-shadow .25s, background .25s; }
[data-theme=dark] .au_inp input { background: rgba(255, 255, 255, .07) !important; border-color: rgba(255, 255, 255, .1) !important; }
.au_inp input::placeholder { color: var(--para-color); opacity: .75; -webkit-text-fill-color: var(--para-color); }
.au_inp input:focus { border-color: #fa5b41 !important; box-shadow: 0 0 0 4px rgba(250, 91, 65, .16); }
.au_inp:focus-within > i.au_ic { color: #fa5b41; }
.au_inp input:-webkit-autofill { -webkit-text-fill-color: var(--heading-color); transition: background-color 9999s; }
.au_eye { position: absolute; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--para-color); cursor: pointer; font-size: 15px; }
.au_eye:hover { color: #fa5b41; }
.au_eye:focus { outline: 0; }
.au_cc { position: absolute; left: 10px; z-index: 1; padding: 6px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--heading-color); background: rgba(127, 127, 140, .18); pointer-events: none; }
.au_inp.has_cc input { padding-left: 74px; }

.au_row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; font-size: 13.5px; }
.au_check { display: inline-flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; color: var(--para-color); user-select: none; }
.au_check input { width: 17px; height: 17px; margin: 0; accent-color: #fa5b41; cursor: pointer; }
.au_row a { color: #fa5b41; font-weight: 500; }
.au_row a:hover { text-decoration: underline; }

.au_msg { min-height: 20px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; }
.au_btn { display: block; width: 100%; height: 54px; border: 0; border-radius: 14px; font-size: 15px; font-weight: 600; letter-spacing: .6px; text-align: center; line-height: 54px; text-transform: uppercase !important; cursor: pointer; color: #fff !important;
    background: linear-gradient(135deg, #fa5b41, #ff8a50); box-shadow: 0 12px 26px rgba(250, 91, 65, .38); transition: transform .25s, box-shadow .25s, opacity .25s; }
.au_btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(250, 91, 65, .5); color: #fff; }
.au_switch { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--para-color); }
.au_switch a { color: #fa5b41; font-weight: 600; }
.au_switch a:hover { text-decoration: underline; }
.au_cancel { display: block; margin: 12px auto 0; font-size: 13px; color: var(--para-color); text-align: center; }
.au_cancel:hover { color: var(--heading-color); }
.au_two { display: flex; gap: 14px; }
.au_two .au_field { flex: 1 1 0; min-width: 0; }
.au_mini { display: none; }

@media (max-width: 767px) {
    .au_art { display: none; }
    .au_shell { min-height: 0; }
    .au_form { padding: 34px 22px 26px; }
    .au_form h3 { font-size: 24px; }
    .au_mini { display: block; margin-bottom: 18px; }
    .au_mini img { height: 34px; }
    .au_two { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .au_wave i { animation: none; height: 20px; } .auth_modal.fade .modal-dialog { transition: none; } }
