/* ================== Donation Form Styles ================== */

body { 
    background: #ffffff; 
    font-family: system-ui, -apple-system, sans-serif; 
}

.logo-container { 
    padding: 25px 0 15px; 
}

.form-container { 
    max-width: 620px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Base Floating Labels */
.floating-label {
    position: relative;
    margin-bottom: 24px;
}

.floating-label input,
.floating-label select,
.floating-label textarea {
    width: 100%;
    padding: 14px 18px 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

/* Focus state - Blue border + label movement */
.floating-label input:focus,
.floating-label select:focus,
.floating-label textarea:focus {
    border-color: #003087;
    outline: none;
}

.floating-label label {
    position: absolute;
    left: 22px;
    top: 14px;
    color: #666;
    font-size: 16px;
    transition: all 0.2s;
    pointer-events: none;
    background: white;
    padding: 0 4px;
}

/* Label moves up when focused or has content */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: #003087;
}

/* ================== INDEPENDENT PADDING CONTROLS ================== */

.amount-input {
    max-width: 160px;
    margin: 0 auto;
}

.amount-input input {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    height: 58px;
    -moz-appearance: textfield;
}

.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Amount Label - Normal State */
.amount-input label {
    left: 34px;     /* ← Normal (unfocused) left padding */
    top: 17px;
}

/* Amount Label - Focused / Moved Up State */
.amount-input input:focus + label,
.amount-input input:not(:placeholder-shown) + label {
    left: 10px !important;   /* ← Focused left padding (when label moves up) */
    top: -8px;
    font-size: 12px;
    color: #003087;
}

/* Street Address Label */
.street-address-label {
    left: 10px !important;
}

/* Monthly Donation Checkbox */
.form-check.mb-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    margin-bottom: 28px;
}

/* Card Element */
#card-element {
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

#card-element:focus {
    border-color: #003087;
}