.checkout-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.checkout-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-title {
    font-size: 1.75rem;
    color: #24184a;
    font-weight: 600;
}

.checkout-content {
    margin-bottom: 2rem;
}

.order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.order-detail:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #4b5563;
}

.detail-value {
    font-size: 1.125rem;
    color: #24184a;
}

.points-value i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.price-value {
    font-weight: 600;
}

.confirm-button {
    width: 100%;
    padding: 1rem;
    background: #24184a;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-button:hover {
    background: #1a1235;
}

.confirm-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.loading {
    position: relative;
    opacity: 0.8;
}

/* Modal Styles */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 249, 249, 0.821);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    max-width: 500px;
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f3f4f6;
}

.modal-close:hover {
    color: #24184a;
    background-color: #e5e7eb;
}

.modal-title {
    font-size: 1.5rem;
    color: #24184a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: #24184a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(36, 24, 74, 0.1);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: #24184a;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit:hover {
    background: #1a1235;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

@media (max-width: 640px) {
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}
