/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    color: white;
}

/* Dark overlay for better text readability */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* All content above the overlay */
body > * {
    position: relative;
    z-index: 2;
}

/* Header - Company Name Top Left */
.header {
    padding: 40px 50px;
}

.company-name {
    font-size: 36px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

/* Center Content - Login Button */
.center-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 20px 60px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.login-button:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-content {
    background: rgba(255, 255, 255, 0.98);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* Logo Styles for Login Page */
.logo {
    margin-bottom: 40px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a69bd 0%, #6a89cc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    letter-spacing: 2px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* Login Form Styles */
.login-form {
    margin-top: 30px;
}

.login-form h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #5a6c7d;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4a69bd;
}

.login-submit {
    width: 100%;
    background: linear-gradient(135deg, #4a69bd 0%, #6a89cc 100%);
    color: white;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 105, 189, 0.4);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.forgot-password {
    color: #4a69bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #6a89cc;
}

/* Back Link */
.back-link {
    margin-top: 30px;
}

.back-link a {
    color: #5a6c7d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #4a69bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 30px 30px;
    }
    
    .company-name {
        font-size: 28px;
    }
    
    .login-button {
        padding: 18px 50px;
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 25px 20px;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .login-button {
        padding: 16px 40px;
        font-size: 16px;
    }
    
    .login-content {
        padding: 40px 30px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
}
