/**
 * Stiluri pentru Formularul de Donații
 * Surorile Guanelliene
 */

/* Container principal */
.guanellian-donation-wrapper {
    padding: 40px 20px;
}

.guanellian-donation-form-container {
    background: linear-gradient(135deg, #FFF8E7 0%, #FEF3D6 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

/* Titlu și subtitlu */
.guanellian-donation-title {
    text-align: center;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px;
}

.guanellian-donation-subtitle {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin: 0 0 30px;
}

/* Form groups */
.guanellian-form-group {
    margin-bottom: 16px;
}

.guanellian-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Butoane sumă */
.guanellian-amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.guanellian-amount-btn {
    padding: 14px;
    border: 2px solid #5B2D82;
    background: white;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #5B2D82;
    cursor: pointer;
    transition: all 0.25s ease;
}

.guanellian-amount-btn:hover {
    background: #5B2D82;
    color: white;
    transform: translateY(-2px);
}

.guanellian-amount-btn.active {
    background: #5B2D82;
    color: white;
}

/* Sumă personalizată */
.guanellian-custom-amount {
    position: relative;
}

.guanellian-custom-amount input {
    width: 100%;
    padding: 16px 60px 16px 18px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    transition: border-color 0.2s ease;
}

.guanellian-custom-amount input:focus {
    outline: none;
    border-color: #5B2D82;
}

.guanellian-currency-label {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 15px;
    font-weight: 500;
}

/* Input-uri text */
.guanellian-donation-form input[type="text"],
.guanellian-donation-form input[type="email"],
.guanellian-donation-form input[type="tel"] {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    transition: border-color 0.2s ease;
}

.guanellian-donation-form input:focus {
    outline: none;
    border-color: #5B2D82;
}

.guanellian-donation-form input::placeholder {
    color: #999;
}

/* Row pentru câmpuri pe jumătate */
.guanellian-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.guanellian-form-group.guanellian-half {
    margin-bottom: 0;
}

/* Textarea */
.guanellian-donation-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    resize: none;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.guanellian-donation-form textarea:focus {
    outline: none;
    border-color: #5B2D82;
}

/* Stripe Card Element */
.guanellian-card-element {
    background: white;
    padding: 16px 18px;
    border: 2px solid #ddd;
    border-radius: 30px;
    transition: border-color 0.2s ease;
}

.guanellian-card-element.StripeElement--focus {
    border-color: #5B2D82;
}

.guanellian-card-element.StripeElement--invalid {
    border-color: #e24b4a;
}

.guanellian-card-errors {
    color: #e24b4a;
    font-size: 13px;
    margin-top: 8px;
    padding-left: 18px;
}

/* Buton submit */
.guanellian-submit-btn {
    width: 100%;
    padding: 18px;
    background: #5B2D82;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    margin-top: 10px;
}

.guanellian-submit-btn:hover {
    background: #4a2369;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 45, 130, 0.3);
}

.guanellian-submit-btn:active {
    transform: translateY(0);
}

.guanellian-submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.guanellian-submit-btn svg {
    fill: currentColor;
}

/* Loading state */
.guanellian-submit-btn.loading {
    position: relative;
    color: transparent;
}

.guanellian-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: guanellian-spin 0.8s linear infinite;
}

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

/* Mesaj securitate */
.guanellian-secure-notice {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 16px;
}

/* Mesaj succes */
.guanellian-success-message {
    text-align: center;
    padding: 40px 20px;
}

.guanellian-success-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    color: white;
    font-size: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: guanellian-pop 0.5s ease;
}

@keyframes guanellian-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.guanellian-success-message h3 {
    color: #1a1a1a;
    font-size: 24px;
    margin: 0 0 10px;
}

.guanellian-success-message p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .guanellian-donation-form-container {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .guanellian-donation-title {
        font-size: 24px;
    }
    
    .guanellian-amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .guanellian-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .guanellian-form-group.guanellian-half {
        margin-bottom: 0;
    }
}
