/* Gift Card Information Styles */
.gicapi-item-gift-card-info,
.gicapi-gift-card-summary {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gicapi-item-gift-card-info h4,
.gicapi-gift-card-summary h2 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.gicapi-gift-card-summary h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.gicapi-gift-card-details,
.gicapi-order-summary {
    margin: 15px 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.gicapi-gift-card-details p,
.gicapi-order-summary p {
    margin: 8px 0;
    color: #495057;
    font-size: 14px;
}

.gicapi-gift-card-details strong,
.gicapi-order-summary strong {
    color: #2c3e50;
    font-weight: 600;
}

.gicapi-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
}

.gicapi-status-pending {
    background: #6c757d;
    color: #ffffff;
    border: 1px solid #5a6268;
}

.gicapi-status-processing {
    background: #007bff;
    color: #ffffff;
    border: 1px solid #0056b3;
}

.gicapi-status-completed {
    background: #28a745;
    color: #ffffff;
    border: 1px solid #1e7e34;
}

.gicapi-status-failed {
    background: #dc3545;
    color: #ffffff;
    border: 1px solid #c82333;
}

.gicapi-status-confirmed {
    background: #28a745;
    color: #ffffff;
    border: 1px solid #1e7e34;
}

.gicapi-status-pending-create {
    background: #ffc107;
    color: #212529;
    border: 1px solid #e0a800;
}

.gicapi-manual-order-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.gicapi-create-order-manually {
    background: #28a745;
    border-color: #28a745;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.gicapi-create-order-manually:hover {
    background: #218838;
    border-color: #1e7e34;
    color: #ffffff;
}

.gicapi-create-order-manually:disabled {
    background: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gicapi-confirm-order-manually {
    background: #007cba;
    border-color: #007cba;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.gicapi-confirm-order-manually:hover {
    background: #005a87;
    border-color: #005a87;
    color: #ffffff;
}

.gicapi-confirm-order-manually:disabled {
    background: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gicapi-update-status-manually {
    background: #17a2b8;
    border-color: #17a2b8;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.gicapi-update-status-manually:hover {
    background: #138496;
    border-color: #117a8b;
    color: #ffffff;
}

.gicapi-update-status-manually:disabled {
    background: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gicapi-loading {
    color: #007cba;
    font-style: italic;
    font-size: 13px;
    margin-left: 10px;
    display: inline-block;
}

.gicapi-loading:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #007cba;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.gicapi-gift-card-details .notice {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 13px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.gicapi-gift-card-details .notice-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.gicapi-gift-card-details .notice-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gicapi-redemption-details,
.gicapi-redemption-details h5 {
    margin: 10px 0;
    font-size: 15px;
    color: #333;
}

.gicapi-redemption-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.gicapi-redemption-table th,
.gicapi-redemption-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.gicapi-redemption-table th {
    background-color: #f2f2f2;
}

.gicapi-redemption-table tr:hover {
    background: #f8f9fa;
}

.gicapi-redemption-table .button {
    display: inline-block;
    padding: 6px 12px;
    background: #27ae60;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.gicapi-redemption-table .button:hover {
    background: #229954;
    color: #ffffff;
    text-decoration: none;
}