/* FORMULÁRIO CESTA BÁSICA - CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --mg-gradient-primary: linear-gradient(135deg, #3c096c 0%, #300756 100%);
    --mg-gradient-accent: linear-gradient(135deg, #6d28a8 0%, #3c096c 100%);
    --mg-gradient-dark: linear-gradient(180deg, #190042 0%, #3c096c 100%);
    --mg-gradient-light: linear-gradient(135deg, #ece6f0 0%, #d8cee2 100%);

    --mg-shadow-sm: 0 2px 8px rgba(60, 9, 108, 0.08);
    --mg-shadow-md: 0 4px 16px rgba(60, 9, 108, 0.12);
    --mg-shadow-lg: 0 8px 32px rgba(60, 9, 108, 0.16);
    --mg-shadow-xl: 0 16px 48px rgba(60, 9, 108, 0.2);

    --mg-border-radius: 16px;
    --mg-border-radius-sm: 8px;
    --mg-border-radius-lg: 24px;
    --mg-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inaed-cesta-form {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 5px auto;
    padding: 5px;
    text-align: center;
    color: #1e293b;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d8cee2 0%, #e6dff1 100%);
    border: 3px solid #3c096c;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(60, 9, 108, 0.15);
}

.inaed-cesta-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 6px;
    background: linear-gradient(90deg, #3c096c, #300756, #6d28a8, #a855f7, #3c096c);
}

.inaed-cesta-form::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(60, 9, 108, 0.1) 0%, transparent 70%);
}

.inaed-cesta-header {
    position: relative;
    overflow: hidden;
    margin: -40px -40px 30px -40px;
    padding: 40px;
    color: #ffffff;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #3c096c 0%, #300756 100%);
    border-radius: 24px 24px 0 0;
}

.inaed-cesta-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.inaed-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.inaed-header-text {
    flex: 1;
    text-align: center;
}

.inaed-header-qrcode {
    flex-shrink: 0;
}

.inaed-qrcode-glass {
    padding: 14px 14px 10px 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inaed-qrcode-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.inaed-qrcode-img {
    display: block;
    width: 130px;
    height: 130px;
    padding: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
}

.inaed-qrcode-label {
    max-width: 130px;
    margin: 8px 0 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-qrcode-label strong {
    color: #ffd700;
    font-size: 10px;
    font-weight: 700;
}

.inaed-cesta-title {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-cesta-subtitle {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-cesta-subtitle::after {
    content: 'Ao realizar sua doação, você se torna elegível ao kit do evento.';
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 80%;
    font-weight: 600;
    line-height: 1.6;
}

.inaed-cesta-highlight {
    color: #ffd700;
    font-weight: 700;
}

.inaed-heart-icon {
    color: #ff6b6b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.inaed-group-cesta {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.inaed-label-cesta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #3c096c;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-label-cesta .required {
    color: #ef4444;
    font-size: 18px;
}

.inaed-input-cesta {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    color: #1e293b;
    font-size: 16px;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inaed-input-cesta:hover {
    border-color: #cbd5e1;
}

.inaed-input-cesta:focus {
    outline: none;
    background: #ffffff;
    border-color: #3c096c;
    box-shadow: 0 0 0 4px rgba(60, 9, 108, 0.1);
}

.inaed-input-cesta.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
}

.inaed-input-cesta.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #22c55e;
}

.inaed-input-cesta::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

select.inaed-input-cesta {
    padding-right: 55px;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%233c096c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

textarea.inaed-input-cesta {
    min-height: 130px;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 1.6;
    resize: vertical;
}

.inaed-row-cesta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.inaed-row-cesta .inaed-group-cesta {
    flex: 1;
    margin-bottom: 0;
}

.inaed-upload-container-cesta {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 35px 30px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2.5px dashed #3c096c;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inaed-upload-container-cesta:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #300756;
    box-shadow: 0 10px 25px -5px rgba(60, 9, 108, 0.1);
    transform: translateY(-2px);
}

.inaed-upload-container-cesta.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.inaed-upload-container-cesta.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #22c55e;
}

.inaed-upload-icon-cesta {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    color: #3c096c;
    font-size: 56px;
}

.inaed-upload-text-cesta {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    color: #3c096c;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-upload-hint-cesta {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-upload-required {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ef4444;
    border-radius: 20px;
}

.inaed-file-input-cesta {
    display: none;
}

.inaed-file-name-cesta {
    position: relative;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 20px;
    color: #16a34a;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #86efac;
    border-radius: 12px;
}

.inaed-file-name-cesta.error {
    color: #ef4444;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #fca5a5;
}

.inaed-btn-cesta {
    position: relative;
    z-index: 2;
    display: inline-block;
    overflow: hidden;
    width: auto;
    min-width: 300px;
    margin: 40px auto 20px;
    padding: 20px 60px;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    background: linear-gradient(135deg, #3c096c 0%, #300756 100%);
    border: none !important;
    border-radius: var(--mg-border-radius, 16px);
    outline: none;
    box-shadow: var(--mg-shadow-lg, 0 8px 32px rgba(60, 9, 108, 0.16));
    transition: var(--mg-transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
}

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

.inaed-btn-cesta:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #6d28a8 0%, #3c096c 100%);
    border: none !important;
    box-shadow: var(--mg-shadow-xl, 0 16px 48px rgba(60, 9, 108, 0.2));
    transform: translateY(-3px);
}

.inaed-btn-cesta:hover::before {
    left: 100%;
}

.inaed-btn-cesta:active,
.inaed-btn-cesta:focus {
    color: #ffffff !important;
    background: linear-gradient(135deg, #300756 0%, #3c096c 100%);
    border: none !important;
    outline: none !important;
    box-shadow: var(--mg-shadow-md, 0 4px 16px rgba(60, 9, 108, 0.12));
}

.inaed-btn-cesta span {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.inaed-btn-cesta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none;
    transform: none;
}

.inaed-btn-cesta.error,
.inaed-btn-cesta.success {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3c096c 0%, #300756 100%) !important;
    border: none !important;
}

.inaed-btn-cesta.error:hover,
.inaed-btn-cesta.success:hover {
    background: linear-gradient(135deg, #6d28a8 0%, #3c096c 100%) !important;
}

.inaed-btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: inaed-spin 0.8s linear infinite;
}

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

.inaed-msg-cesta {
    position: relative;
    z-index: 2;
    display: none;
    margin: 30px 0;
    padding: 25px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 16px;
    animation: inaed-fadeIn 0.5s ease;
}

@keyframes inaed-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inaed-success-cesta {
    color: #15803d;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #22c55e;
}

.inaed-error-cesta {
    color: #991b1b;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
}

.inaed-footer-cesta {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    padding-top: 25px;
    color: #3c096c;
    font-size: 14px;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 2px solid rgba(60, 9, 108, 0.1);
}

.inaed-footer-cesta p {
    margin: 8px 0;
    line-height: 1.6;
}

.inaed-field-hint {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inaed-field-error {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    border-radius: 6px;
}

.inaed-emoji {
    display: inline-block;
    margin: 0 4px;
    vertical-align: middle;
}

.inaed-donation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px 16px;
    color: #3c096c;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    border-radius: 50px;
}

.inaed-svg-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

.inaed-cesta-info {
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border: 2px solid #d8b4fe;
    border-radius: 16px;
}

.inaed-cesta-price {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #3c096c;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .inaed-row-cesta {
        flex-direction: column;
        gap: 25px;
    }

    .inaed-cesta-form {
        margin: 20px;
        padding: 30px 25px;
        border-radius: 20px;
    }

    .inaed-cesta-header {
        margin: -30px -25px 25px -25px;
        padding: 30px 25px;
    }

    .inaed-header-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .inaed-header-text {
        text-align: center;
    }

    .inaed-cesta-title {
        font-size: 24px;
        text-align: center;
    }

    .inaed-cesta-subtitle {
        font-size: 15px;
        text-align: center;
    }

    .inaed-cesta-subtitle::after {
        font-size: 80%;
    }

    .inaed-qrcode-img {
        width: 110px;
        height: 110px;
    }

    .inaed-upload-container-cesta {
        min-height: 160px;
        padding: 25px 20px;
    }

    .inaed-btn-cesta {
        min-width: auto;
        max-width: 100%;
        padding: 18px 40px;
    }
}