﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-image: url('../image/login_bg_img_knk.jpg');
    background-size: cover;
}

.login-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}


.login-visual {
    background: linear-gradient(135deg, #000d4e 0%, #1a4a5f 100%);
    height: 100%;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

    .login-visual::before {
        content: "";
        position: absolute;
        top: -20%;
        left: -20%;
        width: 140%;
        height: 140%;
        background: radial-gradient(circle at 30% 40%, rgba(255,255,240,0.08) 0%, rgba(0,0,0,0) 70%);
        pointer-events: none;
    }

.brand-icon {
    font-size: 3.5rem;
    background: rgba(255,255,255,0.15);
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    backdrop-filter: blur(2px);
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: #FFE6C7;
}

.visual-quote {
    text-align: center;
    max-width: 100%;
}

    .visual-quote h2 {
        font-family: 'Plus Jakarta Sans';
        font-weight: 800;
        font-size: 1.9rem;
        letter-spacing: 1px;
        color: white;
        margin-bottom: 1rem;
    }

    .visual-quote p {
        color: rgba(255,255,240,0.85);
        font-size: 0.95rem;
        line-height: 1.5;
    }

.illustration-mock {
    margin-top: 2rem;
    width: 220px;
    opacity: 0.9;
}

    .illustration-mock svg {
        width: 100%;
        filter: drop-shadow(0 8px 12px rgba(0,0,0,0.2));
    }


.login-form-panel {
    padding: 2.5rem 2rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 550px;
}

.form-header {
    margin-bottom: 2rem;
}

    .form-header h3 {
        font-weight: 700;
        font-size: 1.9rem;
        letter-spacing: -0.3px;
        color: #0a2c3b;
        margin-bottom: 0.5rem;
    }

    .form-header p {
        color: #5b6e7c;
        font-size: 0.9rem;
    }

.input-group-custom {
    margin-bottom: 1.5rem;
}

    .input-group-custom label {
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #2c4b60;
        margin-bottom: 0.5rem;
        display: block;
    }

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #8aa4b5;
        font-size: 1rem;
        transition: color 0.2s;
    }

    .input-icon input {
        width: 100%;
        padding: 0.85rem 1rem 0.85rem 2.6rem;
        border: 1.5px solid #e2e8f0;
        border-radius: 18px;
        font-size: 0.95rem;
        font-weight: 500;
        background: #ffffff;
        transition: all 0.2s ease;
        outline: none;
        font-family: 'Plus Jakarta Sans', monospace;
    }

        .input-icon input:focus {
            border-color: #1f6e8c;
            box-shadow: 0 0 0 3px rgba(31,110,140,0.15);
        }

        .input-icon input:hover {
            border-color: #bdd3e0;
        }

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.8rem;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #2c4b60;
    cursor: pointer;
}

    .checkbox-label input {
        width: 16px;
        height: 16px;
        accent-color: #1f6e8c;
    }

.forgot-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f6e8c;
    text-decoration: none;
    transition: 0.2s;
}

    .forgot-link:hover {
        color: #0b4f66;
        text-decoration: underline;
    }

.btn-login {
    background: #0b2b3b;
    border: none;
    padding: 0.9rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 40px;
    width: 100%;
    color: white;
    transition: all 0.25s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

    .btn-login:hover {
        background: #134b60;
        transform: translateY(-2px);
        box-shadow: 0 12px 18px -8px rgba(19,75,96,0.3);
    }

.signup-prompt {
    text-align: center;
    font-size: 0.85rem;
    color: #5b6e7c;
}

    .signup-prompt a {
        color: #1f6e8c;
        font-weight: 700;
        text-decoration: none;
    }

        .signup-prompt a:hover {
            text-decoration: underline;
        }

hr.divider {
    margin: 1.8rem 0 1.2rem;
    background-color: #e9edf2;
}

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c4b60;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .social-btn i {
        font-size: 1rem;
    }

    .social-btn:hover {
        background: white;
        border-color: #cbdde6;
        box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    }

.alert-toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0b2b3b;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    backdrop-filter: blur(8px);
    background: rgba(11,43,59,0.92);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

    .alert-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .login-visual {
        min-height: 280px;
        padding: 1.5rem;
    }

    .visual-quote h2 {
        font-size: 1.5rem;
    }

    .login-form-panel {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .form-header h3 {
        font-size: 1.6rem;
    }

    .social-btn {
        padding: 0.5rem 1rem;
    }
}
