/* Virtual Cart Checkout Styles */
.virtual-cart-notice {
    margin-bottom: 20px;
    border-left: 4px solid #17a2b8;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    border-radius: 4px;
    padding: 15px;
}

.virtual-cart-notice .icon-info-circle {
    color: #17a2b8;
    font-size: 16px;
    margin-right: 8px;
}

/* Hide shipping step elements for virtual cart */
.cecgiftcard-virtual-cart .delivery-options-list,
.cecgiftcard-virtual-cart #js-delivery {
    display: none !important;
}

/* Virtual cart replacement message */
.cecgiftcard-virtual-replacement {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 20px 0;
}

/* Smooth transitions */
.virtual-cart-notice {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Send to Friend Styles - Coerenti con il design del sito */
#cecgiftcard-send-to-friend {
    margin: 20px 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #ffffff;
    padding: 20px;
}

#cecgiftcard-send-to-friend .cecgiftcard-header {
    margin: 0 0 15px 0;
    padding: 0;
    border: none;
    background: none;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
}

#cecgiftcard-send-to-friend .cecgiftcard-header .material-icons {
    font-size: 20px;
    color: #4439D9;
}

#cecgiftcard-send-to-friend .cecgiftcard-description {
    margin: 0 0 20px 0;
    color: #6c757d;
    font-size: 14px;
    padding: 0;
    background: none;
    border: none;
}

.gift-card-item {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
    background: #fcfcfc !important;
}

.gift-card-item .product-name {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 12px;
    font-size: 16px;
}

.friend-form {
    margin-top: 15px;
}

.friend-form-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.friend-form-field {
    flex: 1;
    min-width: 200px;
}

.friend-form-field label {
    display: block;
    font-size: 13px;
    color: #495057;
    font-weight: 500;
    margin-bottom: 5px;
}

.friend-form-field .form-control {
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    width: 100%;
    font-size: 14px;
    height: 40px !important;
    box-sizing: border-box;
}

.friend-form-field .form-control:focus {
    border-color: #4439D9;
    outline: 0;
}

.friend-form-action {
    flex: 0 0 auto;
}

.friend-form-action .btn.btn-primary {
    height: 40px !important;
    background-color: #4439D9;
    border-color: #4439D9;
    border-radius: 8px;
    font-size: 14px;
    padding: 6px 16px;
}

.friend-form-action .btn.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}



.email-preview {
    color: #6c757d;
    font-size: 13px;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: none;
}

.friend-data-saved {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    color: #155724;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 14px;
}

.friend-data-saved .material-icons {
    font-size: 18px;
    color: #28a745;
    margin-top: 1px;
}

.friend-data-saved strong {
    color: #0f5132;
}

.friend-data-saved em {
    color: #0a3622;
    font-style: italic;
    margin-top: 4px;
    display: block;
    font-size: 13px;
}

/* Responsive design */
@media (max-width: 768px) {
    .friend-form-row {
        flex-direction: column;
        gap: 12px;
    }

    .friend-form-field {
        min-width: auto;
        width: 100%;
    }

    .friend-form-action {
        width: 100%;
    }

    .friend-form-action .btn.btn-primary {
        width: 100%;
        justify-content: center;
    }
}