/* ========== Auth split layout (Login & Register – TailAdmin style) ========== */
body.page-login {
    overflow-x: hidden;
}

.auth-split {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-split__form {
    flex: 1 1 50%;
    min-width: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.auth-split__form-inner {
    width: 100%;
    max-width: 440px;
}

.auth-split__back {
    display: inline-block;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}
.auth-split__back:hover {
    color: #111827;
}

.auth-split__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.35rem 0;
}

.auth-split__subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    line-height: 1.45;
}

.auth-split__social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.auth-split__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.auth-split__social-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}
.auth-split__social-btn--google .fa-google {
    color: #4285f4;
}
.auth-split__social-btn--x {
    color: #0f1419;
}
.auth-split__x-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.auth-split__divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
}
.auth-split__divider::before,
.auth-split__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.auth-split__divider span {
    padding: 0 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.auth-split__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
}

.auth-split__input {
    padding: 0.65rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.22rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-split__input:focus {
    border-color: #f44949;
    box-shadow: 0 0 0 3px rgba(244, 73, 73, 0.15);
    outline: none;
}

.auth-split__password-wrap {
    position: relative;
}
.auth-split__password-wrap .auth-split__input {
    padding-right: 2.75rem;
}
.auth-split__toggle-pwd {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}
.auth-split__toggle-pwd:hover {
    color: #374151;
}

.auth-split__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.auth-split__row .custom-control-label {
    font-size: 0.9rem;
    color: #374151;
}

.auth-split__link {
    color: #f44949 !important;
    font-size: 0.9rem;
    text-decoration: none;
}
.auth-split__link:hover {
    color: #d93d3d !important;
    text-decoration: underline;
}

.auth-split__btn-submit {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f44949 !important;
    border: none !important;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.22rem;
    cursor: pointer;
    transition: background 0.2s;
}
.auth-split__btn-submit:hover {
    background: #d93d3d !important;
    color: #fff !important;
}

.auth-split .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #f44949;
    border-color: #f44949;
}

.auth-split__footer {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 1.5rem;
    margin-bottom: 0;
}
.auth-split__terms {
    text-align: center;
}

/* Right: Branding panel – base color red */
.auth-split__brand {
    flex: 1 1 50%;
    min-width: 0;
    background: #aa0100;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.auth-split__brand-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.auth-split__brand-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 420px;
}

.auth-split__brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.auth-split__brand-logo-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.auth-split__brand-logo-icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    height: 80px;
}
.auth-split__brand-logo-icon span {
    width: 14px;
    background: #fff;
    border-radius: 6px;
}
.auth-split__brand-logo-icon span:nth-child(1) { height: 40px; }
.auth-split__brand-logo-icon span:nth-child(2) { height: 56px; }
.auth-split__brand-logo-icon span:nth-child(3) { height: 80px; }

.auth-split__brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.auth-split__brand-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}

.auth-split__brand-float {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2;
}

.auth-split__brand-float-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.auth-split__brand-float-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

@media (max-width: 991px) {
    .auth-split {
        flex-direction: column;
    }
    .auth-split__brand {
        min-height: 220px;
        padding: 2rem;
    }
    .auth-split__brand-float {
        display: none;
    }
}

@media (max-width: 576px) {
    .auth-split__form {
        padding: 1.5rem 1rem;
    }
    .auth-split__title {
        font-size: 1.5rem;
    }
}

/* Register (choose role) – card & tabs inside auth-split */
.auth-split-register-card {
    margin-top: 0.5rem;
}
.auth-split-register-card__heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
}
.auth-split-register-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    gap: 1rem;
}
.auth-split-register-tabs .tab-link {
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.auth-split-register-tabs .tab-link:hover,
.auth-split-register-tabs .tab-link.active {
    color: #f44949;
    border-bottom-color: #f44949;
}
.auth-split-register-content .tab-pane {
    display: none;
}
.auth-split-register-content .tab-pane.active {
    display: block;
}
.auth-split-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.auth-split-role-btn {
    padding: 0.75rem 1rem !important;
    font-weight: 500;
}
.auth-split-role-btn--active {
    background: #f44949 !important;
    color: #fff !important;
    border-color: #f44949 !important;
}

/* Register step 2 (form per role, same page) */
.register-step2-wrap {
    margin-top: 0;
}
.auth-split__back-btn.register-step2-back {
    display: inline-block;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
}
.auth-split__back-btn.register-step2-back:hover {
    color: #f44949;
}
.register-step2-form .form-group {
    margin-bottom: 1rem;
}

/* ========== Login page (legacy full-page bg) ========== */
.login-page {
    position: relative;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    box-sizing: border-box;
}

.login-page__bg,
.login-page__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    min-width: 100%;
}
.login-page__bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Overlay netral (tanpa tint merah) agar gambar background tampil alami */
.login-page__overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.45) 100%);
}
.login-page__inner {
    z-index: 2;
}

.login-page__card {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Tombol sosial – warna brand jelas (Google & Facebook) */
.login-page__social-btn {
    border: 1px solid #dadce0;
    font-weight: 500;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.login-page__social-btn--google {
    background-color: #fff !important;
    color: #3c4043 !important;
    border-color: #dadce0 !important;
}
.login-page__social-btn--google .fa-google {
    color: #4285f4; /* Google blue */
}
.login-page__social-btn--google:hover {
    background-color: #f8f9fa !important;
    border-color: #dadce0 !important;
    color: #202124 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.login-page__social-btn--google:hover .fa-google {
    color: #4285f4;
}
.login-page__social-btn--facebook {
    background-color: #1877f2 !important;
    color: #fff !important;
    border-color: #1877f2 !important;
}
.login-page__social-btn--facebook .fa-facebook {
    color: #fff !important;
}
.login-page__social-btn--facebook:hover {
    background-color: #166fe5 !important;
    border-color: #166fe5 !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.4);
}

/* Tema merah: link */
.login-page__link {
    color: #f44949 !important;
}
.login-page__link:hover {
    color: #d93d3d !important;
}

/* Tombol submit – dominan merah (sesuai tema IDSpeaker) */
.login-page__btn-submit {
    background-color: #f44949 !important;
    border-color: #f44949 !important;
    color: #fff !important;
}
.login-page__btn-submit:hover {
    background-color: #d93d3d !important;
    border-color: #d93d3d !important;
    color: #fff !important;
}

/* Form standar BS4: focus border merah */
.login-page .form-control:focus {
    border-color: #f44949;
    box-shadow: 0 0 0 0.2rem rgba(244, 73, 73, 0.25);
}
.login-page .input-group .input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
}
.login-page .input-group:focus-within .input-group-text {
    border-color: #f44949;
}

/* Custom checkbox warna merah */
.login-page .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #f44949;
    border-color: #f44949;
}

@media (max-width: 576px) {
    .login-page__card .card-body {
        padding: 1.25rem !important;
    }
}

/* ========== Legacy / register page ========== */
h5 {
    color: #363636;
}

.role-selected {
    border: none;
    border-radius: 5px;
}

.welcome-logo {
    display: flex;
}

/* Mobile */
@media only screen and (max-width: 760px) {
    .welcome-logo {
        display: none;
    }
}

.title-left {
    color: #fff;
    margin-bottom: 0.3em;
}

.tab-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.tab-menu ul li a {
    text-decoration: none;
    padding-top: 15px;
    margin-right: 2.5em;
    font-size: 16px;
    font-weight: bold;
    color: #505050;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.tab-menu ul li a.active,
.tab-menu ul li a:hover {
    color: #E74C3C;
}

.tab-menu ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    margin: auto;
    width: 100%;
    height: 3px;
    border-radius: 50px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tab-menu ul li a.active::after {
    background-color: #E74C3C;
}

.tab-menu ul li:last-child {
    align-content: center;
    margin-left: auto;
    /* Push the button to the right */
}

/* Tab Content */
.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active {
    display: block;
}

.invalid-feedback {
    text-transform: capitalize;
}

#user-login,
#user-reservation,
.font-11 {
    font-size: 11pt;
}

.checkbox-remember {
    vertical-align: middle;
}

.label-remember {
    font-size: 11pt;
    vertical-align: middle;
    margin-bottom: 0;
}

.login-remember {
    display: inline;
}

.login-remember a {
    float: right;
    font-size: 11pt;
}

.login-remember a:hover,
.login-remember a:focus,
.link-register a:hover,
.link-register a:focus {
    color: #007bff;
}