/* ====================================
   HarvestCall Donations - Clean & Professional
   No !important, no fighting, just beautiful
   ==================================== */

.hcd-premium-checkout {
    max-width: 720px;
    margin: 60px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hcd-form {
    padding: 40px;
}

/* Header - Centered */
.hcd-checkout-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf2f7;
}

.hcd-brand-tag {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.hcd-checkout-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    line-height: 1.2;
}

/* Currency Toggle - Centered */
.hcd-currency-toggle-wrapper {
    display: inline-flex;
    background: #f7fafc;
    padding: 4px;
    border-radius: 40px;
    margin-top: 16px;
}

.hcd-curr-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: transparent;
    border-radius: 30px;
    color: #64748b;
    cursor: pointer;
}

.hcd-curr-btn.active {
    background: #fff;
    color: #1a5f7a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Force all form field labels to be left-aligned */
.hcd-field label,
.hcd-step-title,
.hcd-sub-header,
.hcd-fee-label-text strong,
.hcd-fee-label-text {
    text-align: left !important;
}

/* Keep step numbers and titles left-aligned */
.hcd-step-title {
    justify-content: flex-start;
    text-align: left;
}

/* Section Titles */
.hcd-checkout-section {
    margin-bottom: 40px;
}

.hcd-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 24px;
}

.hcd-step-title span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
}

/* Amount Options */
.hcd-amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.hcd-preset-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
}

.hcd-preset-btn:hover {
    background: #fff;
    border-color: #1a5f7a;
    color: #1a5f7a;
    transform: translateY(-2px);
}

.hcd-preset-btn.active {
    background: #1a5f7a;
    border-color: #1a5f7a;
    color: white;
}

/* Custom Amount Field - Bigger & Bolder with "Other" on the right */
.hcd-custom-input-group {
    position: relative;
    display: flex;
    align-items: center;
    grid-column: 1 / -1;
    margin-top: 8px;
}

.hcd-currency-prefix {
    position: absolute;
    left: 20px;
    color: #64748b;
    font-size: 20px;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

.hcd-amount-input {
    width: 100%;
    padding: 18px 18px 18px 48px;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s;
    text-align: right;
}

.hcd-amount-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 18px;
    text-align: right;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
.hcd-amount-input::-webkit-input-placeholder {
    text-align: right;
    padding-right: 4px;
}

/* For Firefox */
.hcd-amount-input::-moz-placeholder {
    text-align: right;
    padding-right: 4px;
    opacity: 0.8;
}

/* When user starts typing, keep text left-aligned but placeholder stays right */
.hcd-amount-input:focus {
    text-align: left;
}

.hcd-amount-input:focus::placeholder {
    text-align: right;
}

.hcd-amount-input:hover {
    border-color: #94a3b8;
    background: #fafcfc;
}

.hcd-amount-input:focus {
    outline: none;
    border-color: #1a5f7a;
    border-width: 2px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26,95,122,0.08);
}

/* Form Fields - Bolder Borders */
.hcd-field {
    margin-bottom: 20px;
}

.hcd-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 6px;
}

.hcd-field input,
.hcd-field select,
.hcd-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d9e6;
    border-radius: 10px;
    font-size: 15px;
    background: #ffffff;
    transition: all 0.2s;
}

.hcd-field input:hover,
.hcd-field select:hover,
.hcd-field textarea:hover {
    border-color: #9aa6b5;
}

.hcd-field input:focus,
.hcd-field select:focus,
.hcd-field textarea:focus {
    outline: none;
    border-color: #1a5f7a;
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(26,95,122,0.08);
}

/* Grid Layouts */
.hcd-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hcd-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.hcd-sub-header {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin: 30px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
}

/* Fee Recovery - Warm & Inviting */
.hcd-fee-recovery-premium {
    background: #f6fbfe;
    border: 2px solid #cde3e9;
    border-radius: 18px;
    padding: 26px;
    margin-top: 28px;
    transition: all 0.2s ease;
}

.hcd-fee-recovery-premium:hover {
    background: #f0f7fa;
    border-color: #9fc7d2;
}

.hcd-checkbox-container {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    cursor: pointer;
}

.hcd-checkbox-container input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    accent-color: #1a5f7a;
    border: 2px solid #4a7c8f;
    border-radius: 7px;
    cursor: pointer;
}

.hcd-fee-label-text {
    flex: 1;
}

.hcd-fee-label-text strong {
    display: block;
    font-size: 17px;
    color: #0a3b4a;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.hcd-fee-label-text strong::before {
    content: "♥ ";
    color: #c44536;
    font-size: 20px;
    font-weight: 400;
}

.hcd-fee-explanation {
    font-size: 15px;
    color: #2c4c5c;
    margin: 8px 0 0 0;
    line-height: 1.6;
    font-weight: 400;
    padding-left: 0;
    font-style: italic;
    border-left: 3px solid #c44536;
    padding-left: 16px;
}

/* Submit Button */
.hcd-main-submit {
    width: 100%;
    background: #1a5f7a;
    color: white;
    border: none;
    padding: 18px 28px;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 16px -4px rgba(26,95,122,0.2);
    margin-top: 30px;
}

.hcd-main-submit:hover {
    background: #10455a;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(26,95,122,0.3);
}

/* Trust Badges */
.hcd-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.hcd-trust-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Conditional Sections */
.hcd-conditional-select {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

/* Form Errors */
.hcd-form-errors {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #c53030;
}

/* Responsive */
@media (max-width: 640px) {
    .hcd-form {
        padding: 30px 20px;
    }
    
    .hcd-checkout-header h2 {
        font-size: 24px;
    }
    
    .hcd-grid-2,
    .hcd-grid-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hcd-amount-options {
        grid-template-columns: 1fr 1fr;
    }
    
    .hcd-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hcd-amount-options {
        grid-template-columns: 1fr;
    }
    
    .hcd-currency-toggle-wrapper {
        width: 100%;
    }
    
    .hcd-curr-btn {
        flex: 1;
    }
}