/* ---- Customer Authentication styles (Login & Register) ---- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: #1e1e24;
    overflow-x: hidden;
}

/* Split layout container */
.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/* TOP HERO SECTION */
.login-hero {
    background: linear-gradient(155deg, #ff3f6c 0%, #d92650 55%, #1e1e24 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 54px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

/* Decorative circles */
.login-hero::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -70px;
    right: -70px;
}

.login-hero::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: 15px;
    left: -40px;
}

.hero-logo {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.hero-logo img {
    height: 70px;
    max-width: 90%;
    object-fit: contain;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title span {
    color: rgba(255,255,255,0.65);
}

.hero-subtitle {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Wave connector */
.wave-connector {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

/* BOTTOM FORM SECTION */
.login-form-section {
    flex: 1;
    background: #ffffff;
    padding: 28px 26px 30px;
    position: relative;
    z-index: 1;
}

.login-form-section::-webkit-scrollbar {
    display: none;
}

.section-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
}

.section-subheading {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 24px;
}

.form-label-custom {
    font-size: 0.78rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    display: block;
}

.input-group-custom {
    display: flex;
    align-items: center;
    background: #f6f8fb;
    border: 1.5px solid #e8eaed;
    border-radius: 13px;
    padding: 0 14px;
    transition: all 0.2s ease;
    margin-bottom: 14px;
}

.input-group-custom:focus-within {
    border-color: #ff3f6c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,63,108,0.1);
}

.input-group-custom i {
    color: #aaa;
    font-size: 0.88rem;
    width: 18px;
    flex-shrink: 0;
}

.input-group-custom input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    color: #111;
    outline: none;
}

.input-group-custom input::placeholder {
    color: #bbb;
}

.input-group-custom input[readonly] {
    color: #888;
    cursor: not-allowed;
}

.toggle-eye-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 0;
    font-size: 0.9rem;
}

.btn-login, .btn-register {
    width: 100%;
    background: linear-gradient(135deg, #ff3f6c, #ff5c8a);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(255,63,108,0.3);
    transition: all 0.2s ease;
    margin-top: 6px;
    cursor: pointer;
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,63,108,0.35);
}

.signup-link, .signin-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.86rem;
    color: #888;
}

.signup-link a, .signin-link a {
    color: #ff3f6c;
    font-weight: 700;
    text-decoration: none;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.remember-row input[type="checkbox"] {
    accent-color: #ff3f6c;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.remember-row label {
    font-size: 0.82rem;
    color: #666;
    cursor: pointer;
}

/* Toastr override */
#toast-container {
    top: 16px !important;
}
