/* Donation Card Widget - Complete Design */
/* ============================================== */

/* Base Container */
.dc-29dfa54b-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ==============================================
   TOGGLE CONTAINER (Tabs Container)
   ============================================== */
.dc-29dfa54b-tabs {
    display: flex;
    background: #f5f5f5;
    border-radius: 40px;
    padding: 4px;
    margin-bottom: 25px;
    gap: 4px;
}

/* ==============================================
   TAB BUTTONS
   ============================================== */
.dc-29dfa54b-tab {
    flex: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 36px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.15s ease;
    font-family: inherit;
}

.dc-29dfa54b-tab svg {
    width: 16px;
    height: 16px;
    display: block;
}

.dc-29dfa54b-tab:not(.active) {
    background: transparent;
}

.dc-29dfa54b-tab.active {
    background: #ffffff;
    color: #1e5f48;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dc-29dfa54b-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.6);
    color: #1e5f48;
}

/* ==============================================
   AMOUNT TITLE
   ============================================== */
.dc-29dfa54b-title {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 16px;
}

/* ==============================================
   PRESET BUTTONS
   ============================================== */
.dc-29dfa54b-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.dc-29dfa54b-preset {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.dc-29dfa54b-preset:hover {
    border-color: #1e5f48;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.dc-29dfa54b-preset.active {
    background: #1e5f48;
    border-color: #1e5f48;
    color: #ffffff;
}

/* ==============================================
   AMOUNT FIELD - FORCE NO INNER BORDER
   ============================================== */
.dc-29dfa54b-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px;
    background: #ffffff;
    margin-bottom: 24px;
    transition: all 0.15s ease;
    overflow: hidden;
}

/* Currency Symbol */
.dc-29dfa54b-currency {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    padding-left: 18px;
    padding-right: 4px;
    background: #ffffff;
}

/* Input Field - REMOVE ALL BORDERS COMPLETELY */
.dc-29dfa54b-manual {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: #ffffff !important;
    padding: 16px 12px 16px 4px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    font-family: inherit;
    -moz-appearance: textfield;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Remove all possible borders from input */
.dc-29dfa54b-manual:focus,
.dc-29dfa54b-manual:active,
.dc-29dfa54b-manual:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove number input spinners */
.dc-29dfa54b-manual::-webkit-inner-spin-button,
.dc-29dfa54b-manual::-webkit-outer-spin-button {
    opacity: 0.5;
    margin: 0;
}

/* Hover Effect - Only wrapper border changes */
.dc-29dfa54b-input-wrapper:hover {
    border-color: #1e5f48 !important;
}

/* Focus Effect - Only wrapper border and glow */
.dc-29dfa54b-input-wrapper:focus-within {
    border-color: #1e5f48 !important;
    box-shadow: 0 0 0 3px rgba(30, 95, 72, 0.1);
}

/* Ensure input doesn't get any border on focus inside wrapper */
.dc-29dfa54b-input-wrapper:focus-within .dc-29dfa54b-manual {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ==============================================
   DONATE BUTTON
   ============================================== */
.dc-29dfa54b-submit {
    width: 100%;
    background: #dfb56b;
    border: none;
    border-radius: 40px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.dc-29dfa54b-submit svg {
    width: 18px;
    height: 18px;
}

.dc-29dfa54b-submit:hover {
    background: #d1a85a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.dc-29dfa54b-submit:active {
    transform: translateY(0);
}

/* ==============================================
   FOOTER TEXT
   ============================================== */
.dc-29dfa54b-footer {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 18px;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 640px) {
    .dc-29dfa54b-container {
        padding: 20px;
    }
    .dc-29dfa54b-preset {
        padding: 12px 8px;
        font-size: 14px;
    }
    .dc-29dfa54b-tab {
        padding: 10px 14px;
        font-size: 13px;
    }
    .dc-29dfa54b-currency {
        font-size: 16px;
        padding-left: 14px;
    }
    .dc-29dfa54b-manual {
        padding: 14px 8px 14px 2px;
        font-size: 16px;
    }
    .dc-29dfa54b-submit {
        padding: 14px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .dc-29dfa54b-container {
        padding: 16px;
    }
    .dc-29dfa54b-preset {
        padding: 10px 6px;
        font-size: 13px;
    }
    .dc-29dfa54b-tab {
        padding: 8px 10px;
        font-size: 12px;
    }
    .dc-29dfa54b-tabs {
        gap: 3px;
    }
}