* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 25%, #6d4c41 50%, #8d6e63 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(210, 180, 140, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo i {
    font-size: 50px;
    color: #d4a574;
    text-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.form-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4a574 0%, #c49060 100%);
    color: #3e2723;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #e0b080 0%, #d4a574 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.links a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.links a:hover {
    color: #c49060;
    text-decoration: underline;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #d4a574, #c49060);
    color: #2b1814 !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
}

.home-link:hover {
    background: linear-gradient(135deg, #e0b080, #d4a574);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.5);
    text-decoration: none;
}

.home-link i {
    font-size: 14px;
}

.divider {
    margin: 15px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .logo i {
        font-size: 40px;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input {
        padding: 10px 12px 10px 40px;
        font-size: 14px;
    }
    
    .input-group i {
        left: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .alert {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .links {
        font-size: 13px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .logo i {
        font-size: 35px;
    }
    
    h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 9px 10px 9px 38px;
        font-size: 13px;
    }
    
    .btn {
        padding: 11px;
        font-size: 14px;
    }
}
