.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #343a40;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.login-form h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
}

.login-form fieldset {
    border: 2px solid #495057;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #2b3035;
}

.login-form legend {
    font-weight: 600;
    color: #adb5bd;
    padding: 0 10px;
    font-size: 16px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="tel"],
.login-form input[type="date"],
.login-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #495057;
    border-radius: 6px;
    font-size: 16px;
    background-color: #495057;
    color: white;
    transition: border 0.3s, box-shadow 0.3s;
}

.login-form input:focus,
.login-form select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.login-form button[type="submit"] {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.login-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-form label {
    color: #adb5bd;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.login-form p {
    text-align: center;
    color: #adb5bd;
    margin-top: 20px;
}

.login-form a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.login-form a:hover {
    text-decoration: underline;
}

.login-container,
.verification-container,
.reset-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #343a40;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-header,
.verification-header,
.reset-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1,
.verification-header h1,
.reset-header h1 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p,
.verification-header p,
.reset-header p {
    color: #adb5bd;
    font-size: 16px;
    line-height: 1.6;
}

.error-message {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #bd2130;
    display: none;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.success-message {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #1e7e34;
    display: none;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

.message.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-left: 4px solid #bd2130;
}

.message.success {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border-left: 4px solid #1e7e34;
}

.info-box {
    background: #0d6efd;
    border: 1px solid #0a58ca;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: white;
    display: none;
}

.info-box h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-btn {
    background: white;
    color: #757575;
    border: 2px solid #ddd;
    padding: 14px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.google-btn:hover {
    background: #f8f8f8;
    border-color: #c6c6c6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.google-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #adb5bd;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #495057;
}

.divider span {
    padding: 0 15px;
    background-color: #343a40;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #adb5bd;
    font-weight: 500;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #495057;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
    background-color: #495057;
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me span {
    color: #adb5bd;
    font-size: 15px;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-links,
.back-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #495057;
}

.login-links a,
.back-link a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.login-links a:hover,
.back-link a:hover {
    text-decoration: underline;
    color: #3d8b40;
}

.profile-settings {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #343a40;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-settings h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
}

.profile-settings fieldset {
    border: 2px solid #495057;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #2b3035;
}

.profile-settings legend {
    font-weight: 600;
    color: #adb5bd;
    padding: 0 10px;
    font-size: 16px;
}

.profile-settings input[type="file"] {
    color: #adb5bd;
    padding: 10px;
    background-color: #495057;
    border-radius: 6px;
    width: 100%;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px auto;
    display: block;
    border: 3px solid #4CAF50;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

.reg-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 768px) {
    .login-form,
    .login-container,
    .verification-container,
    .reset-container,
    .profile-settings {
        max-width: 90%;
        margin: 30px auto;
        padding: 20px;
    }
    
    .login-form h1,
    .login-header h1,
    .verification-header h1,
    .reset-header h1,
    .profile-settings h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .login-form fieldset,
    .profile-settings fieldset {
        padding: 12px;
    }
    
    .google-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .submit-btn,
    .login-form button[type="submit"] {
        padding: 14px;
        font-size: 16px;
    }
    
    .form-control,
    .login-form input[type="text"],
    .login-form input[type="email"],
    .login-form input[type="password"],
    .login-form input[type="tel"],
    .login-form input[type="date"],
    .login-form select {
        padding: 12px;
        font-size: 15px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .login-form,
    .login-container,
    .verification-container,
    .reset-container,
    .profile-settings {
        max-width: 95%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .login-form h1,
    .login-header h1,
    .verification-header h1,
    .reset-header h1,
    .profile-settings h1 {
        font-size: 22px;
    }
    
    .login-header p,
    .verification-header p,
    .reset-header p {
        font-size: 14px;
    }
    
    .error-message,
    .success-message,
    .message {
        padding: 12px;
        font-size: 14px;
    }
    
    .divider {
        margin: 20px 0;
        font-size: 13px;
    }
    
    .login-links,
    .back-link {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .login-links a,
    .back-link a {
        font-size: 14px;
        display: block;
        margin: 10px 0;
    }
    
    .reg-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}