/* Login/Registration Page Styles */
body {    font-family: Arial, sans-serif;    margin: 0;    padding: 0;
    background-color: #1e2124;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background-color: #2a2d31;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.logo-image {
    max-height: 80px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    color: white;
}

.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #3a3d41;
    border: 1px solid #444;
    border-radius: 4px;
    color: white;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #18c851;
    outline: none;
}

.form-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #18c851;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #15a845;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-small {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
    display: inline-block;
    margin: 0 auto;
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

.form-footer a {
    color: #18c851;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Form button group */
.button-row {
    display: flex;
    justify-content: center;
}

/* Password strength indicator */
.password-strength {
    margin-top: 5px;
    height: 5px;
    border-radius: 2px;
    transition: all 0.3s;
}

.strength-weak {
    background-color: #dc3545;
    width: 30%;
}

.strength-medium {
    background-color: #ffc107;
    width: 60%;
}

.strength-strong {
    background-color: #28a745;
    width: 100%;
}

/* Google Sign-In Styles */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #444;
}

.divider span {
    padding: 0 15px;
    background-color: #2a2d31;
    font-weight: bold;
}

.google-signin-container {
    margin: 20px 0;
    text-align: center;
}

/* Ensure Google button takes full width and matches our styling */
.google-signin-container .g_id_signin {
    width: 100% !important;
}

.google-signin-container iframe {
    width: 100% !important;
    border-radius: 4px;
}

/* Media query for smaller screens */
@media (max-width: 480px) {
    .login-container {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .button-row {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .divider span {
        padding: 0 10px;
    }
} 