/* Contact Form Authentication Styles */

.contact-login-prompt {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

.login-prompt-content .lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #166c41 0%, #1a8050 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(22, 108, 65, 0.3);
}

.login-prompt-content .lock-icon i {
    font-size: 36px;
    color: white;
}

.login-prompt-content h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-prompt-content p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.6;
}

.login-prompt-content .login-subtitle {
    font-size: 14px;
    color: #95a5a6;
    margin-bottom: 25px;
}

.login-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.login-btn.primary {
    background: linear-gradient(135deg, #166c41 0%, #1a8050 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(22, 108, 65, 0.3);
}

.login-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 108, 65, 0.4);
}

.login-btn.secondary {
    background: white;
    color: #166c41;
    border: 2px solid #166c41;
}

.login-btn.secondary:hover {
    background: #166c41;
    color: white;
    transform: translateY(-2px);
}

.login-benefits {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    text-align: left;
    border: 1px solid #e9ecef;
}

.login-benefits .benefits-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.login-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-benefits ul li {
    padding: 8px 0;
    color: #495057;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-benefits ul li i {
    color: #28a745;
    font-size: 16px;
}

/* User Info Banner (shown when logged in) */
.user-info-banner {
    background: linear-gradient(135deg, #166c41 0%, #1a8050 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(22, 108, 65, 0.2);
    animation: fadeInDown 0.5s ease;
}

.user-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 30px;
    color: #166c41;
}

.user-info {
    flex: 1;
    min-width: 200px;
}

.user-greeting {
    display: block;
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
}

.user-greeting strong {
    font-weight: 600;
}

.user-status {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.user-dashboard-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.user-dashboard-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Loading State */
.auth-loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 36px;
    color: #166c41;
    margin-bottom: 15px;
}

.loading-spinner p {
    color: #6c757d;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-login-prompt {
        padding: 30px 20px;
    }

    .login-buttons {
        flex-direction: column;
        width: 100%;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
    }

    .user-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .user-info {
        text-align: center;
    }

    .user-dashboard-link {
        width: 100%;
        justify-content: center;
    }
}
