/* Login Styles */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.auth-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: #cbd5e1;
}

.auth-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.auth-providers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-provider-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.auth-provider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.provider-icon {
    font-size: 1.5rem;
}

.provider-retrocatalog {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.provider-google {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.provider-microsoft {
    background: linear-gradient(135deg, #00a4ef, #7fba00);
}

.auth-no-providers {
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
}

.auth-no-providers .hint {
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 0.5rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #ccc;
}

.auth-footer a {
    color: #8b5cf6;
}

/* Invitation Styles */
.invitation-code-section {
    margin-bottom: 1.5rem;
}

.invitation-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
}

.invitation-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #fff;
    transition: all 0.2s;
}

.invitation-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.invitation-hint {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #ccc;
}

.invitation-request-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.invitation-request-link:hover {
    color: #a78bfa;
    text-decoration: underline;
}


/* Mobile App Links Styles */
.mobile-app-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.mobile-app-title {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.mobile-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0.5rem;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    transition: all 0.2s;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.mobile-app-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
    border-color: rgba(99, 102, 241, 0.4);
}

.mobile-app-icon {
    font-size: 1.1rem;
}

/* Error Styles */
.error-card {
    text-align: center;
    max-width: 500px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.error-card h1 {
    color: #ef4444;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.error-message {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.invitation-error-hint {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.invitation-error-hint p {
    color: #cbd5e1;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.invitation-error-hint strong {
    color: #60a5fa;
}

.error-actions {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}