/**
 * Public-facing styles for Pandit Booking Plugin
 *
 * @package    Pandit_Booking
 * @since      1.0.0
 */

/* ==========================================================================
   All Pujas Display
   ========================================================================== */

.pandit-booking-all-pujas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Enhanced Header Section */
.pandit-booking-header {
    margin-bottom: 30px;
    padding: 20px 25px;
    background: #ad7932;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-left {
    flex: 0 0 auto;
}

.header-right {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

/* Filter Group */
.filter-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.puja-category-filter {
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 15px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
}

.puja-category-filter:hover {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.puja-category-filter:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Search Group */
.search-group {
    max-width: 400px;
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: #666;
    pointer-events: none;
    z-index: 1;
}

.puja-search-input {
    width: 100%;
    padding: 10px 45px 10px 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
    font-weight: 400;
}

.puja-search-input::placeholder {
    color: #999;
}

.puja-search-input:hover {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.puja-search-input:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.search-clear-btn:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.search-clear-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Pujas Grid - 6 Columns */
.pandit-booking-pujas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* Puja Card - Compact Design */
.puja-card {
    background: #e9a74e;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.puja-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.puja-card-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* Compact square-ish ratio */
    overflow: hidden;
    background: #d89640;
}

.puja-card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.puja-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.puja-card:hover .puja-card-image img {
    transform: scale(1.05);
}

.puja-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.puja-card-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.puja-card-title a {
    color: #2d1810;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.puja-card-title a:hover {
    color: #640008;
}

.puja-card-price {
    font-size: 16px;
    font-weight: 800;
    color: #640008;
    letter-spacing: -0.3px;
    margin: 0;
}

.puja-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.puja-btn {
    display: block;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.puja-btn-book {
    background: #640008;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(100, 0, 8, 0.2);
    text-decoration: none !important;
}

.puja-btn-book:hover {
    background: #4a0006;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(100, 0, 8, 0.3);
    text-decoration: none !important;
}

.puja-btn-view {
    background: rgba(45, 24, 16, 0.1);
    color: #2d1810 !important;
    border: 1px solid rgba(45, 24, 16, 0.2);
    text-decoration: none !important;
}

.puja-btn-view:hover {
    background: rgba(45, 24, 16, 0.2);
    color: #2d1810 !important;
    border-color: rgba(45, 24, 16, 0.3);
    text-decoration: none !important;
}

/* No Results */
.pandit-booking-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #e9a74e;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pandit-booking-no-results p {
    margin: 0;
    font-size: 18px;
    color: #2d1810;
    font-weight: 600;
}

/* Loading State */
.pandit-booking-loading {
    text-align: center;
    padding: 40px 20px;
}

.pandit-booking-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pandit-booking-loading p {
    margin: 15px 0 0 0;
    color: #666;
    font-size: 16px;
}

/* ==========================================================================
   Single Puja Display
   ========================================================================== */

.pandit-booking-single-puja {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.puja-single-header {
    margin-bottom: 30px;
}

.puja-single-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.puja-single-categories {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.puja-category-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.puja-single-price {
    font-size: 28px;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 20px;
}

.puja-single-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.puja-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.puja-single-content {
    margin-bottom: 30px;
}

.puja-single-section {
    margin-bottom: 25px;
}

.puja-single-section h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.puja-single-section p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.puja-single-section p:last-child {
    margin-bottom: 0;
}

.puja-description-content {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.puja-description-content p {
    margin: 0 0 15px 0;
}

.puja-description-content ul,
.puja-description-content ol {
    margin: 0 0 15px 20px;
    padding: 0;
}

.puja-description-content li {
    margin-bottom: 8px;
}

.puja-single-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.puja-book-now-button {
    display: block;
    width: 100%;
    padding: 15px 40px;
    background: #640008 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(100, 0, 8, 0.3);
}

.puja-book-now-button:hover {
    background: #4a0006 !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 0, 8, 0.4);
}

.puja-error-message {
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    margin: 20px 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large desktop - 6 columns */
@media screen and (min-width: 1400px) {
    .pandit-booking-pujas-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }
}

/* Desktop - 5 columns */
@media screen and (max-width: 1399px) and (min-width: 1200px) {
    .pandit-booking-pujas-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
}

/* Smaller desktop - 4 columns */
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .pandit-booking-pujas-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

/* Tablet landscape - 3 columns */
@media screen and (max-width: 991px) and (min-width: 768px) {
    .pandit-booking-pujas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .pandit-booking-header {
        padding: 18px 22px;
    }

    .search-group {
        max-width: 350px;
    }
}

/* Tablet portrait - 2 columns */
@media screen and (max-width: 767px) and (min-width: 481px) {
    .pandit-booking-pujas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .puja-card-title {
        font-size: 12px;
    }

    .puja-card-price {
        font-size: 15px;
    }

    .puja-card-content {
        padding: 10px;
    }

    .puja-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .puja-single-title {
        font-size: 26px;
    }

    .puja-single-price {
        font-size: 24px;
    }

    /* Header responsive */
    .pandit-booking-header {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        gap: 12px;
    }

    .header-left,
    .header-right {
        width: 100%;
    }

    .header-right {
        justify-content: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .puja-category-filter {
        width: 100%;
        min-width: auto;
    }

    .search-group {
        max-width: 100%;
        width: 100%;
    }
}

/* Mobile - 1 column */
@media screen and (max-width: 480px) {
    .pandit-booking-pujas-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .puja-card {
        border-radius: 8px;
    }

    .puja-card-content {
        padding: 12px;
    }

    .puja-card-title {
        font-size: 14px;
        white-space: normal;
    }

    .puja-card-price {
        font-size: 16px;
    }

    .puja-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .puja-single-title {
        font-size: 22px;
    }

    .puja-single-price {
        font-size: 20px;
    }

    .puja-book-now-button {
        display: block;
        text-align: center;
        width: 100%;
    }

    /* Header mobile responsive */
    .pandit-booking-header {
        padding: 15px;
        border-radius: 8px;
        gap: 10px;
    }

    .puja-category-filter,
    .puja-search-input {
        font-size: 14px;
        padding: 11px 14px;
        border-radius: 5px;
    }

    .puja-search-input {
        padding-left: 40px;
        padding-right: 40px;
    }

    .search-icon {
        left: 12px;
        width: 18px;
        height: 18px;
    }

    .search-clear-btn {
        right: 10px;
    }

    .pandit-booking-no-results {
        padding: 40px 15px;
        border-radius: 10px;
    }

    .pandit-booking-no-results p {
        font-size: 16px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.puja-card-button:focus,
.puja-book-now-button:focus,
.puja-category-filter:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   Checkout Form
   ========================================================================== */

.pandit-booking-checkout {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f9e1be;
    min-height: 100vh;
}

.checkout-container {
    background: #ad7932;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 30px;
}

.checkout-title {
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
}

/* Puja Summary */
.checkout-puja-summary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.checkout-puja-summary h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.puja-summary-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.puja-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.puja-summary-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.puja-summary-value {
    font-weight: 600;
    color: #fff;
}

.puja-summary-price {
    font-size: 20px;
    color: #fff;
    font-weight: 800;
}

/* Checkout Sections */
.checkout-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.checkout-section:last-of-type {
    border-bottom: none;
}

.checkout-section-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

/* Form Elements */
.checkout-form {
    margin-top: 20px;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-label .required {
    color: #ffeb3b;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    background: #f9e1be;
    color: #2d1810;
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-color: #630007;
    box-shadow: 0 0 0 3px rgba(99, 0, 7, 0.2);
    background: #fff8e7;
}

.form-control::placeholder {
    color: #999;
}

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

.form-error {
    display: block;
    margin-top: 5px;
    color: #ffeb3b;
    font-size: 13px;
    min-height: 18px;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method-option {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.payment-method-option:hover {
    border-color: #630007;
}

.payment-method-label {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    cursor: pointer;
    margin: 0;
}

.payment-method-radio {
    margin: 4px 15px 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.payment-method-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.payment-method-title {
    font-weight: 600;
    font-size: 16px;
    color: #2d1810;
}

.payment-method-description {
    font-size: 14px;
    color: #4a2f1f;
}

.payment-method-option:has(.payment-method-radio:checked) {
    border-color: #630007;
    background-color: rgba(255, 255, 255, 0.3);
}

.payment-error-message {
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.payment-error-message p {
    margin: 0;
    font-size: 14px;
}

/* Form Messages */
.checkout-messages {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
}

.checkout-messages.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.checkout-messages.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.checkout-messages p {
    margin: 0;
    font-size: 14px;
}

/* Submit Button */
.checkout-actions {
    margin-top: 30px;
    text-align: center;
}

.checkout-submit-button {
    display: inline-block;
    padding: 15px 50px;
    background: #630007 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(99, 0, 7, 0.3);
}

.checkout-submit-button:hover:not(:disabled) {
    background: #4a0006 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 0, 7, 0.4);
}

.checkout-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.checkout-submit-button .button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-submit-button .button-loader .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Responsive Design for Checkout */
@media screen and (max-width: 768px) {
    .checkout-container {
        padding: 20px;
    }

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

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

    .checkout-submit-button {
        width: 100%;
        min-width: auto;
    }
}

@media screen and (max-width: 480px) {
    .pandit-booking-checkout {
        padding: 10px;
    }

    .checkout-container {
        padding: 15px;
    }

    .checkout-title {
        font-size: 20px;
    }

    .checkout-section-title {
        font-size: 18px;
    }

    .puja-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ==========================================================================
   Booking Confirmation Page
   ========================================================================== */

.pandit-booking-confirmation {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.confirmation-container {
    background: #ad7932;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

/* Confirmation Icon */
.confirmation-icon {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-icon svg {
    display: inline-block;
}

/* Confirmation Header */
.confirmation-header {
    text-align: center;
    margin-bottom: 40px;
}

.confirmation-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.confirmation-subtitle {
    margin: 0;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
}

/* Booking Details */
.confirmation-details {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row:first-child {
    padding-top: 0;
}

.booking-id-row {
    background: rgba(255, 255, 255, 0.15);
    margin: -25px -25px 15px -25px;
    padding: 20px 25px;
    border-bottom: 2px solid #630007;
    border-radius: 6px 6px 0 0;
}

.detail-label {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
    min-width: 150px;
}

.detail-value {
    font-size: 15px;
    color: #fff;
    text-align: right;
    word-break: break-word;
}

.detail-value.booking-id {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
}

.detail-value.amount {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.detail-value.transaction-id {
    font-size: 13px;
    font-family: 'Courier New', monospace;
    color: #fff;
}

/* Payment Status Badge */
.payment-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-status.status-paid {
    background: #d4edda;
    color: #155724;
}

.payment-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.payment-status.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.payment-status.status-unknown {
    background: #e2e3e5;
    color: #383d41;
}

/* Payment Instructions */
.payment-instructions {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.instructions-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.instructions-content {
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
}

.instructions-content p {
    margin: 0 0 15px 0;
}

.instructions-content ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

.instructions-content li {
    margin-bottom: 10px;
}

.instructions-note {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #630007;
    margin-top: 15px;
    color: #fff;
}

/* Email Notice */
.email-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-bottom: 30px;
}

.email-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.email-notice svg path,
.email-notice svg rect {
    stroke: #fff;
}

.email-notice p {
    margin: 0;
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

/* Action Buttons */
.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.confirmation-actions .button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirmation-actions .button-primary {
    background: #630007;
    color: #fff;
    border: 2px solid #630007;
}

.confirmation-actions .button-primary:hover {
    background: #4a0005;
    color: #fff;
    border-color: #4a0005;
}

.confirmation-actions .button-secondary {
    background: #fff;
    color: #630007;
    border: 2px solid #630007;
}

.confirmation-actions .button-secondary:hover {
    background: #630007;
    color: #fff;
}

/* Print Styles */
@media print {
    .confirmation-actions {
        display: none;
    }

    .pandit-booking-confirmation {
        margin: 0;
        padding: 0;
    }

    .confirmation-container {
        box-shadow: none;
        padding: 20px;
    }

    .email-notice {
        display: none;
    }
}

/* Responsive Design for Confirmation Page */
@media screen and (max-width: 768px) {
    .confirmation-container {
        padding: 30px 20px;
    }

    .confirmation-title {
        font-size: 26px;
    }

    .detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .detail-label {
        min-width: auto;
    }

    .detail-value {
        text-align: left;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .button {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .pandit-booking-confirmation {
        margin: 20px auto;
        padding: 10px;
    }

    .confirmation-container {
        padding: 20px 15px;
    }

    .confirmation-icon svg {
        width: 60px;
        height: 60px;
    }

    .confirmation-title {
        font-size: 22px;
    }

    .confirmation-subtitle {
        font-size: 14px;
    }

    .confirmation-details {
        padding: 20px 15px;
    }

    .booking-id-row {
        margin: -20px -15px 15px -15px;
        padding: 15px;
    }

    .detail-value.booking-id {
        font-size: 16px;
    }

    .detail-value.amount {
        font-size: 18px;
    }

    .payment-instructions {
        padding: 20px 15px;
    }

    .instructions-title {
        font-size: 18px;
    }

    .email-notice {
        flex-direction: column;
        gap: 10px;
    }
}


/* ========================================
   Price Display Shortcode Styles
   ======================================== */

.puja-price-display {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 600;
    color: #2c3e50;
}

.puja-price-currency {
    font-size: 0.9em;
    font-weight: 500;
}

.puja-price-amount {
    font-size: 1em;
}

/* Badge format */
.puja-price-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.puja-price-badge .puja-price-currency,
.puja-price-badge .puja-price-amount {
    color: #ffffff;
}

/* Plain format */
.puja-price-plain {
    font-weight: 600;
    color: inherit;
}

/* Error message */
.puja-price-error {
    color: #e74c3c;
    font-style: italic;
    font-size: 0.9em;
}


/* ========================================
   Customer Area / My Bookings Styles
   ======================================== */

.puja-customer-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: #ad793200;
    border-radius: 8px;
}

.puja-customer-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.puja-customer-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #fff;
}

.puja-customer-welcome {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

/* Login Required */
.puja-login-required {
    text-align: center;
    padding: 40px 20px;
    background: #ad7932;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.puja-login-required h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #fff;
}

.puja-login-required p {
    margin: 0 0 25px 0;
    color: #fff;
    font-size: 16px;
}

.puja-login-button {
    display: inline-block;
    padding: 12px 40px;
    background: #630007;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
    border: 2px solid #630007;
}

.puja-login-button:hover {
    background: #4a0005;
    color: #fff;
    border-color: #4a0005;
}

/* No Bookings */
.puja-no-bookings {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.puja-no-bookings p {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #fff;
}

.puja-browse-button {
    display: inline-block;
    padding: 12px 30px;
    background: #630007;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.puja-browse-button:hover {
    background: #4a0005;
    color: #fff;
}

/* Bookings List */
.puja-bookings-list {
    display: grid;
    gap: 20px;
}

/* Booking Card */
.puja-booking-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.puja-booking-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

/* Booking Header */
.puja-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.puja-booking-id {
    display: flex;
    align-items: center;
    gap: 8px;
}

.puja-booking-id strong {
    color: #fff;
    font-size: 14px;
}

.puja-booking-id span {
    color: #fff;
    font-family: monospace;
    font-size: 14px;
}

.puja-booking-statuses {
    display: flex;
    gap: 10px;
}

.puja-payment-status,
.puja-booking-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Payment Status Colors */
.puja-payment-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.puja-payment-status.status-paid,
.puja-payment-status.status-success {
    background: #d4edda;
    color: #155724;
}

.puja-payment-status.status-failed {
    background: #f8d7da;
    color: #721c24;
}

/* Booking Status Colors */
.puja-booking-status.status-pending {
    background: #e7f3ff;
    color: #004085;
}

.puja-booking-status.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.puja-booking-status.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.puja-booking-status.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Booking Body */
.puja-booking-body {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.puja-booking-info {
    flex: 1;
}

.puja-booking-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #fff;
}

.puja-booking-title a {
    color: #630007;
    text-decoration: none;
    transition: color 0.3s ease;
}

.puja-booking-title a:hover {
    color: #4a0005;
}

.puja-booking-details {
    display: grid;
    gap: 10px;
}

.puja-booking-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

.puja-detail-icon {
    font-size: 16px;
    line-height: 1.4;
}

.puja-detail-label {
    color: #fff;
    font-weight: 600;
    min-width: 80px;
}

.puja-detail-value {
    color: #fff;
}

/* Booking Amount */
.puja-booking-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 150px;
}

.puja-amount-label {
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.puja-amount-value {
    font-size: 24px;
    font-weight: 700;
    color: #630007;
}

/* Booking Footer */
.puja-booking-footer {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: #fff;
}

/* Pagination */
.puja-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
}

.puja-pagination-link {
    padding: 10px 20px;
    background: #630007;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.puja-pagination-link:hover {
    background: #4a0005;
    color: #fff;
}

.puja-pagination-info {
    color: #fff;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .puja-customer-area {
        padding: 15px;
    }

    .puja-customer-header h2 {
        font-size: 24px;
    }

    .puja-booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .puja-booking-statuses {
        width: 100%;
        justify-content: flex-start;
    }

    .puja-booking-body {
        flex-direction: column;
    }

    .puja-booking-amount {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .puja-amount-label {
        margin-bottom: 0;
    }

    .puja-booking-detail {
        flex-wrap: wrap;
    }

    .puja-detail-label {
        min-width: auto;
    }

    .puja-pagination {
        flex-direction: column;
        gap: 10px;
    }

    .puja-pagination-link {
        width: 100%;
        text-align: center;
    }
}


/* ========================================
   Confirmation Page Error State
   ======================================== */

.confirmation-error {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirmation-error h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #fff;
}

.confirmation-error p {
    margin: 0 0 25px 0;
    color: #fff;
    font-size: 16px;
}

.confirmation-error .button {
    display: inline-block;
    padding: 12px 30px;
    background: #630007;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: 2px solid #630007;
}

.confirmation-error .button:hover {
    background: #4a0005;
    color: #fff;
    border-color: #4a0005;
}