/* Authentication Pages Styles - Login, Signup, Password Reset, etc. */

body.auth-page {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #3359A0 0%, #1BC2B3 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #333;
    margin: 0 0 0.5rem 0;
}

.auth-header p {
    color: #666;
    margin: 0;
}

.status-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.status-message.error {
    background: #fee;
    border: 1px solid #fcc;
    color: #a00;
}

.status-message.info {
    background: #f5f8ff;
    border: 1px solid #c6d4ff;
    color: #2b3a8a;
}

.status-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: #3359A0;
}

.auth-form button {
    width: 100%;
    padding: 0.9rem;
    background-image: linear-gradient(to right, #3359A0 0%, #1BC2B3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.auth-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #1BC2B3 0%, #3359A0 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    z-index: -1;
    pointer-events: none;
}

.auth-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 89, 160, 0.4);
}

.auth-form button:hover::before {
    opacity: 1;
}

.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.auth-footer a {
    color: #3359A0;
    text-decoration: none;
}

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

/* Invitation-specific styles */
.invitation-info {
    background: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.invitation-info strong {
    color: #1976D2;
}

.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.password-strength {
    height: 5px;
    background: #dee2e6;
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
}

.help-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Accept invitation page specific */
.auth-container.large {
    max-width: 500px;
    padding: 2.5rem;
}

.auth-container h1 {
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form input[type="password"],
.auth-form input[type="email"] {
    border: 2px solid #dee2e6;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: #3359A0;
}

