.page-content {
    min-height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.login-form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}
.row{
  width: 40%
}
.row h1{
  text-align: center;
}
.form-row {
    position: relative;
    margin-bottom: 30px;
}

.form-row input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.form-row input:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 5px;
}

.form-row input:focus + .form-label,
.form-row input:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 12px;
    color: #3498db;
    font-weight: 500;
}

.form-row input::placeholder {
    color: transparent;
}

.form-row input:focus::placeholder {
    color: #ccc;
}

.classButton {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.classButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.classButton:active {
    transform: translateY(0);
}

/* Stiluri pentru mesaje */
.messages {
    margin-bottom: 25px;
}

.messages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.messages li {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

.messages li:last-child {
    margin-bottom: 0;
}

/* Mesaje de succes */
.messages li.info {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Mesaje de eroare */
.messages li.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mesaje de avertizare */
.messages li.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Link-uri adiționale (dacă vrei să adaugi "Ai uitat parola?" etc.) */
.login-links {
    text-align: center;
    margin-top: 20px;
}

.login-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .page-content {
        padding: 20px 15px;
    }
    
    .login-form {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .login-form h2 {
        font-size: 24px;
    }
    
    .form-row input {
        padding: 12px;
        font-size: 14px;
    }
    
    .classButton {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 25px 20px;
        margin: 10px;
    }
    
    .login-form h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
}
