/* MTF Gift Cards - Purchase Form */
.mtf-gc-purchase-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 768px) {
    .mtf-gc-purchase-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mtf-gc-preview {
        order: -1;
    }
}

/* Form Section */
.mtf-gc-purchase-form {
    background: #fff;
}

.mtf-gc-section {
    margin-bottom: 20px;
}

.mtf-gc-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #061c1c;
    font-size: 14px;
}

.mtf-gc-label .required {
    color: #dc3545;
}

.mtf-gc-field-description {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Amount Buttons */
.mtf-gc-amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.mtf-gc-amount-btn {
    padding: 12px 20px;
    border: 2px solid #061c1c;
    background: #fff;
    color: #061c1c;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 100px;
    height: 48px;
    text-align: center;
    box-sizing: border-box;
}

.mtf-gc-amount-btn:hover {
    background: #f5f5f5;
}

.mtf-gc-amount-btn.active {
    background: #061c1c;
    color: #fff;
}

/* Recommended Button Styling */
.mtf-gc-recommended-wrapper {
    position: relative;
}

.mtf-gc-rec-label {
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 11px;
    font-weight: 500;
    color: #061c1c;
}

.mtf-gc-custom-amount {
    margin-top: 10px;
}

.mtf-gc-custom-amount input {
    width: 100%;
    max-width: 200px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Input Fields */
.mtf-gc-purchase-form input[type="text"],
.mtf-gc-purchase-form input[type="email"],
.mtf-gc-purchase-form input[type="number"],
.mtf-gc-purchase-form textarea,
.mtf-gc-purchase-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.mtf-gc-purchase-form input:focus,
.mtf-gc-purchase-form textarea:focus,
.mtf-gc-purchase-form select:focus {
    outline: none;
    border-color: #061c1c;
}

.mtf-gc-purchase-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Add to Cart Button */
.mtf-gc-add-btn {
    width: 100%;
    padding: 16px 24px;
    background: #061c1c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.mtf-gc-add-btn:hover {
    background: #0a2e2e;
}

.mtf-gc-add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.mtf-gc-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.mtf-gc-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mtf-gc-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Preview Card */
.mtf-gc-preview {
    position: sticky;
    top: 20px;
}

.mtf-gc-preview-card {
    background: #061c1c;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.mtf-gc-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mtf-gc-preview-logo {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

.mtf-gc-preview-type {
    color: #8FA29A;
    font-size: 14px;
}

.mtf-gc-preview-amount {
    font-size: 42px;
    font-weight: 700;
    color: #FFEAD5;
    margin-bottom: 25px;
}

.mtf-gc-preview-details {
    margin-bottom: 20px;
}

.mtf-gc-preview-row {
    margin-bottom: 12px;
}

.mtf-gc-preview-label {
    color: #8FA29A;
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}

.mtf-gc-preview-row span:last-child {
    font-size: 14px;
    color: #fff;
}

.mtf-gc-preview-code {
    font-family: monospace;
    font-size: 14px;
    color: #8FA29A;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
