﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    position: relative;
}

/* Background shapes with Phan Bach colors */
.bg-shape-left {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 300px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
    z-index: 1;
}

.bg-shape-right {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 300px;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 20% 100%, 0 50%);
    z-index: 1;
}

.login-container {
    width: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 35px;
    z-index: 2;
    position: relative;
}

.logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}



.welcome-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .form-control:focus {
        outline: none;
        border-color: #2c3e50;
        background: white;
        box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
    }

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

    .checkbox-group input[type="checkbox"] {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }

    .checkbox-group label {
        font-size: 13px;
        color: #666;
        cursor: pointer;
    }

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
    }

.alert {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
