@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background-color: #ffffff;
}

/* Left Section with Curved Background */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #0a54b5 0%, #0e99d4 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 60px;
    border-top-right-radius: 40% 100%;
    border-bottom-right-radius: 40% 100%;
    color: #ffffff;
}

.brand-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 1.3rem;
    color: #b1def3;
    font-weight: 400;
    margin-bottom: 30px;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #e0f2fe;
}

.feature-item i {
    color: #b1def3;
    font-size: 1.1rem;
}

/* Developer Footer Styling */
.brand-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.developer-text {
    font-size: 0.75rem;
    color: #b1def3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-name:hover {
    color: #b1def3;
}

.support-email {
    font-size: 0.85rem;
    color: #e0f2fe;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.support-email:hover {
    text-decoration: underline;
}

/* Right Section with Form */
.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.user-avatar {
    margin-bottom: 15px;
}

.login-card .login-subtitle {
    color: #888888;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background-color: #f4f7f6;
    border: 1px solid #e1e8ed;
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #0e99d4;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(14, 153, 212, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0e99d4 0%, #0a54b5 100%);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

.alert-error {
    background-color: #ffe6e6;
    color: #d9534f;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Responsive Design for Mobile / Tablets */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-left {
        padding: 30px 20px;
        border-radius: 0;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        align-items: center;
        text-align: center;
    }

    .brand-features {
        align-items: center;
    }

    .brand-header h2 {
        font-size: 2rem;
    }

    .brand-subtitle {
        font-size: 1.1rem;
    }

    .login-right {
        padding: 40px 20px;
    }
}
.brand-description {
    color: #e0f2fe;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 450px;
}