/* Styles pour utilisateur non connecté - donation-guest.css */

.auth-wrapper-modern {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
    justify-content: center;
    align-items: center;
}

.auth-section-full {
    width: 100%;
    max-width: 900px;
    padding: 2rem;
}

.auth-form-container {
    width: 100%;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 3rem;
}

.form-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.form-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0d683d;
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.2);
}

.form-header h4 {
    color: #0d683d;
    font-size: 1.6rem;
    font-weight: 600;
}

.form-header p {
    font-size: 0.95rem;
    margin: 0;
    color: #666;
}

.form-label {
    font-weight: 600;
    color: #0d683d;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.amount-btn {
    border-radius: 10px;
    padding: 10px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #0d683d;
    color: white;
    border-color: #0d683d;
    transform: translateY(-1px);
}

.btn-donation-primary {
    background: linear-gradient(45deg, #0d683d, #0d683d);
    border: none;
    border-radius: 15px;
    padding: 16px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(119, 163, 8, 0.3);
}

.btn-donation-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-donation-primary:hover::before {
    left: 100%;
}

.btn-donation-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(119, 163, 8, 0.4);
    color: #fff;
}

.form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    border-color: #0d683d;
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.15);
    background: white;
}

.form-control:hover {
    border-color: #0d683d;
    background: white;
}

/* Styles communs pour guest */
.spinnerl {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SweetAlert customization */
.custom-swal-popup {
    border-radius: 15px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15) !important;
}

.custom-swal-title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #0d683d !important;
}

.custom-swal-content {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #666 !important;
}

.custom-swal-confirm {
    border-radius: 10px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .auth-section-full {
        padding: 1rem;
    }

    .card-body {
        padding: 2rem;
    }

    .form-logo {
        width: 80px;
        height: 80px;
    }

    .amount-btn {
        font-size: 0.8rem;
        padding: 8px 6px;
    }
}