/* Payment Page Styles */
.payment-page {
    min-height: 100vh;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 3px solid #1234b1;
}

.payment-title {
    font-size: 42px;
    font-weight: 800;
    color: #1234b1;
    margin: 0;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

/* Order Summary Section */
.order-summary-section {
    position: sticky;
    top: 20px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.summary-title {
    font-size: 24px;
    font-weight: 700;
    color: #1234b1;
    margin-bottom: 25px;
    text-align: center;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
}

.order-items {
    margin-bottom: 25px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: #eef1ff;
    transform: translateX(5px);
}

.item-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 5px 0;
}

.item-quantity {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

.order-item .item-price {
    font-size: 18px;
    font-weight: 700;
    color: #1234b1;
}

.summary-totals {
    border-top: 2px solid #e8e8e8;
    padding-top: 20px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.summary-row span:first-child {
    color: #6B7280;
    font-weight: 500;
}

.summary-row span:last-child {
    font-weight: 600;
    color: #1F2937;
}

.total-row {
    border-top: 2px solid #1234b1;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 20px;
}

.total-row span {
    color: #1234b1 !important;
    font-weight: 800 !important;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
}

/* Customer Form Section */
.customer-form-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1234b1;
    margin-bottom: 10px;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
}

.form-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #F9FAFB;
}

.form-control:focus {
    outline: none;
    border-color: #1234b1;
    background: white;
    box-shadow: 0 0 0 4px rgba(18, 52, 177, 0.1);
}

.form-control::placeholder {
    color: #9CA3AF;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #E5E7EB;
}

.payment-btn {
    flex: 1;
    background: linear-gradient(135deg, #1234b1 0%, #0e2a8a 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-btn:hover {
    background: linear-gradient(135deg, #0e2a8a 0%, #1234b1 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(18, 52, 177, 0.3);
}

.payment-btn svg {
    width: 22px;
    height: 22px;
}

.cancel-btn {
    padding: 18px 32px;
    background: #F3F4F6;
    color: #6B7280;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancel-btn:hover {
    background: #E5E7EB;
    color: #374151;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
    margin-bottom: 30px;
    color: #9CA3AF;
}

.empty-state-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
}

.empty-state-description {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.shop-now-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1234b1 0%, #0e2a8a 100%);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: '!PaulMaul Regular', 'Bahnschrift Light', 'Bahnschrift', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-now-btn:hover {
    background: linear-gradient(135deg, #0e2a8a 0%, #1234b1 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(18, 52, 177, 0.3);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border-left: 4px solid #10B981;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid #EF4444;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .payment-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .order-summary-section {
        position: relative;
        top: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-page {
        padding: 30px 0;
    }

    .payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .payment-title {
        font-size: 32px;
    }

    .back-to-home {
        font-size: 14px;
    }

    .summary-card,
    .customer-form-section {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
    }

    .payment-btn,
    .cancel-btn {
        padding: 16px 24px;
        font-size: 15px;
    }

    .empty-state {
        padding: 60px 20px;
    }

    .empty-state-title {
        font-size: 26px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .payment-title {
        font-size: 26px;
    }

    .form-control {
        padding: 14px 16px;
        font-size: 15px;
    }

    .summary-title,
    .form-title {
        font-size: 20px;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-item .item-price {
        align-self: flex-end;
    }
}
