/* מינימליסטי ונקי */
.gift-card-form {
    margin-top: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gift-card-options {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

/* סקציית סכומים */
.gift-card-amount-section {
    margin-bottom: 35px;
}

.gift-card-amount-section > label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #2c3e50;
    letter-spacing: -0.3px;
}

/* כפתורי סכומים */
.predefined-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.amount-button {
    padding: 14px 20px;
    border: none !important;
    outline: none !important;
    background: #f8f8f8;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: #4a5568;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
}

.amount-button:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.amount-button.selected {
    background: #ffffff;
    color: #2c3e50;
    border: 1.5px solid #2c3e50 !important;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.15) !important;
}

/* סכום מותאם */
.custom-amount {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.custom-amount label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #4a5568;
    font-size: 15px;
}

.custom-amount input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.custom-amount input[type="number"] {
    width: 140px;
    padding: 12px 15px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.custom-amount input[type="number"]:focus {
    border-color: #2c3e50;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* פרטי מקבל */
.gift-card-details {
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.gift-card-details h3 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.gift-card-details .form-row {
    margin-bottom: 20px;
}

.gift-card-details label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
    letter-spacing: -0.2px;
}

.gift-card-details label .required {
    color: #e74c3c;
    font-weight: normal;
}

.gift-card-details input,
.gift-card-details textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fafafa;
    font-family: inherit;
}

.gift-card-details input::placeholder,
.gift-card-details textarea::placeholder {
    color: #a0aec0;
}

.gift-card-details input:focus,
.gift-card-details textarea:focus {
    border-color: #2c3e50;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.gift-card-details textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

/* אזור כמות וכפתור - ללא עיצוב לכפתור עצמו */
.quantity-add-to-cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* תצוגת מחיר נבחר */
.gift-card-selected-price {
    flex: 1 1 100%;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #d0e5ff;
}

.gift-card-selected-price .label {
    font-weight: 500;
    color: #4a5568;
    font-size: 15px;
}

.gift-card-selected-price .price-display {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
}

.quantity {
    width: auto !important;
}

.quantity input {
    padding: 10px 15px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    width: 80px;
    text-align: center;
    background: #fafafa;
}

.quantity input:focus {
    border-color: #2c3e50;
    outline: none;
    background: #ffffff;
}

/* הודעות שגיאה */
.gift-card-errors {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
}

.gift-card-errors p {
    margin: 5px 0;
}

.error-field {
    border-color: #e74c3c !important;
    animation: shake 0.4s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* אנימציה עדינה */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.gift-card-form {
    animation: fadeIn 0.5s ease;
}

/* רספונסיבי - טבלט */
@media (max-width: 768px) {
    .gift-card-options {
        padding: 25px;
    }
    
    .predefined-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quantity-add-to-cart {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
}

/* רספונסיבי - מובייל */
@media (max-width: 480px) {
    .gift-card-options {
        padding: 20px;
        border-radius: 12px;
    }
    
    .predefined-amounts {
        grid-template-columns: 1fr;
    }
    
    .amount-button {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .custom-amount {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .custom-amount input[type="number"] {
        width: 100%;
    }
    
    .gift-card-details input,
    .gift-card-details textarea {
        font-size: 16px; /* מונע זום במובייל */
    }
}

/* hover effects עדינים */
.gift-card-options:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

/* פוקוס accessibility */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

.amount-button:focus-visible {
    outline: none !important;
}

.amount-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* עיצוב לשדות ריקים */
.gift-card-details input:placeholder-shown,
.gift-card-details textarea:placeholder-shown {
    border-color: #f0f0f0;
}