/* Common styles */
:root {
    --font-primary: 'Carlito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #0047AB 0%, #1E90FF 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;

}

.logo {
    text-align: center;
    margin-bottom: 30px;

}

.logo img {
    max-width: 200px;
    height: 100px;
    height: auto;
}

/* Login/Register Box */
.login-box, .register-box {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0 0 30px;
    color: #333;
    font-size: 24px;
    text-align: center;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.required {
    color: #ff4444;
}

.input-group {
    position: relative;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px 35px 12px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group label i {
    margin-right: 8px;
    color: #666;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #1E90FF;
}

h1 i {
    margin-right: 10px;
    color: #1E90FF;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin-bottom: 5px;
}

.meter-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 12px;
    color: #666;
}

.strength-text span {
    font-weight: 600;
}

/* Strength levels */
.strength-weak .meter-bar {
    width: 25%;
    background: #ff4444;
}

.strength-fair .meter-bar {
    width: 50%;
    background: #ffbb33;
}

.strength-good .meter-bar {
    width: 75%;
    background: #00C851;
}

.strength-strong .meter-bar {
    width: 100%;
    background: #007E33;
}

/* Password Requirements */
.password-requirements {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
}

.password-requirements p {
    margin: 0 0 8px;
    color: #666;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.password-requirements li {
    margin: 4px 0;
    color: #666;
}

.password-requirements li i {
    margin-right: 5px;
}

.password-requirements li i.fa-times {
    color: #ff4444;
}

.password-requirements li i.fa-check {
    color: #00C851;
}

/* Disabled submit button */
.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

input:focus {
    border-color: #1E90FF;
    outline: none;
}

.clear-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

/* Buttons */
.form-actions {
    margin-top: 25px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #1E90FF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background: #0066CC;
}

.btn-submit span {
    font-size: 20px;
}

/* Links */
.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #1E90FF;
}

.register-link, .login-link {
    margin-top: 15px;
    color: #666;
}

.register-link a, .login-link a {
    color: #1E90FF;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover, .login-link a:hover {
    text-decoration: underline;
}

/* Error message */
.error-message {
    background: #ffe6e6;
    color: #ff4444;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* Header navigation */
.header-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 20px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-nav a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .login-box, .register-box {
        padding: 20px;
    }
    
    h1 {
        font-size: 20px;
    }

    .banner-slider {
        margin: 20px auto 0;
    }

    .banner-text {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .banner-text i {
        font-size: 20px;
    }
}