/* ===============================
   Booking Layout
================================ */

.photoez-booking-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.photoez-booking-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.photoez-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===============================
   Session Card
================================ */

.photoez-session-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photoez-session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.photoez-session-content h3 {
    margin-top: 0;
    font-size: 20px;
}

.photoez-session-description {
    font-size: 14px;
    color: #666;
    margin: 15px 0;
}

.photoez-session-price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===============================
   Buttons
================================ */

.photoez-select-session {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.photoez-select-session:hover {
    background: #005f8d;
}

/* ===============================
   Cancel Page
================================ */

.photoez-cancel-success {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* ===============================
   Session Image
================================ */

.photoez-session-image {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.photoez-session-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===============================
   Step Wrapper
================================ */

.photoez-step-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    animation: fadeInStep 0.25s ease;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   Progress Bar
================================ */

.photoez-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.photoez-progress-step {
    flex: 1;
    text-align: center;
    font-size: 13px;
    position: relative;
}

.photoez-progress-step:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: -1;
}

.photoez-progress-step:last-child:after {
    display: none;
}

.photoez-progress-step.active {
    font-weight: 600;
    color: #0073aa;
}

.photoez-progress-step.completed {
    color: #28a745;
}

.photoez-back-btn {
    margin-bottom: 15px;
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 14px;
}

/* ===============================
   Time Grid
================================ */

.photoez-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.photoez-time-slot {
    padding: 12px;
    border-radius: 6px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photoez-time-slot:hover {
    background: #f5f9fc;
    color: #333;
}

/* ===============================
   Date Picker
================================ */

#booking_date {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

#booking_date:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.15);
}

/* ===============================
   Add-On Cards
================================ */

.photoez-addon-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.25s ease;
}

.photoez-addon-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.photoez-addon-card.selected {
    border: 2px solid #0073aa;
    background: #f5fbff;
}

.photoez-addon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.photoez-addon-name {
    font-weight: 600;
    font-size: 16px;
}

.photoez-addon-description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.photoez-addon-price {
    font-weight: 600;
    font-size: 16px;
    color: #0073aa;
}

.photoez-addon-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photoez-addon-toggle input {
    margin-right: 6px;
}

.photoez-addon-qty-wrapper input {
    width: 60px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* ===============================
   Booking Layout With Sidebar
================================ */

.photoez-booking-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
    margin-bottom: 100px;
}

@media (max-width: 900px) {
    .photoez-booking-layout {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   Summary Sidebar
================================ */

.photoez-summary {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.photoez-summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.photoez-summary-row {
    margin-bottom: 12px;
    font-size: 14px;
}

.photoez-summary-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: 600;
    font-size: 16px;
}

.photoez-summary-deposit {
    font-size: 13px;
    color: #666;
}

/* ===============================
   Photographer Cards
================================ */

.photoez-photographer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.photoez-photographer-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    background: #000;
}

.photoez-photographer-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(95%);
}

.photoez-photographer-card:hover .photoez-photographer-photo {
    filter: brightness(105%);
    transform: scale(1.08);
}

.photoez-photographer-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photoez-photographer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}

.photoez-photographer-card:hover .photoez-photographer-name {
    opacity: 1;
}

.photoez-photographer-card.selected {
    outline: 3px solid #111;
}

/* ===============================
   Booking Form Fields
================================ */

.photoez-booking-layout input[type="text"],
.photoez-booking-layout input[type="email"],
.photoez-booking-layout input[type="number"],
.photoez-booking-layout input[type="date"],
.photoez-booking-layout select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.photoez-booking-layout input:focus,
.photoez-booking-layout select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

.photoez-booking-layout label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.photoez-booking-layout .button-primary {
    background: #0073aa;
    border: none;
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photoez-booking-layout .button-primary:hover {
    background: #005f8d;
    transform: translateY(-2px);
}

.photoez-booking-layout .photoez-time-slot {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.photoez-booking-layout .photoez-time-slot:hover {
    border-color: #0073aa;
    background: #f5f9fc;
    color: #333;
}

.photoez-booking-layout .photoez-time-slot.selected {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.photoez-booking-layout h2 {
    margin-bottom: 20px;
}

.photoez-booking-layout h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* ===============================
   Session Modal
================================ */

.photoez-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.photoez-modal {
    background: #fff;
    padding: 30px;
    max-width: 500px;
    max-height: 90vh;
    width: 90%;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    animation: photoezFadeIn 0.2s ease;
}

.photoez-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.photoez-modal-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.photoez-modal-price {
    font-weight: 600;
    font-size: 18px;
}

.photoez-modal-description ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 20px;
}

.photoez-modal-description ol {
    list-style: decimal;
    margin-left: 20px;
    padding-left: 20px;
}

.photoez-modal-description li {
    margin-bottom: 6px;
}

.photoez-modal-description p {
    margin-bottom: 12px;
}

.photoez-modal-header {
    padding: 0 0 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.photoez-modal-header h3 {
    margin: 0;
}

.photoez-modal-body {
    padding: 15px 0;
}

.photoez-modal-footer {
    padding: 15px 0 0 0;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

@keyframes photoezFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===============================
   Availability Message
================================ */

.photoez-availability-message {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
}

/* ===============================
   Manage Booking Portal
================================ */

.photoez-manage-wrap {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px 80px;
}

.photoez-manage-header {
    text-align: center;
    margin-bottom: 30px;
}

.photoez-manage-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.photoez-manage-header p {
    color: #666;
    font-size: 15px;
}

/* Lookup Form */
.photoez-lookup-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.photoez-lookup-error {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 12px 16px;
    color: #856404;
    margin-bottom: 20px;
}

/* Fields */
.photoez-field {
    margin-bottom: 20px;
}

.photoez-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.photoez-field input,
.photoez-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border 0.2s ease;
}

.photoez-field input:focus,
.photoez-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

.photoez-field-hint {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Buttons */
.photoez-btn-primary {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photoez-btn-primary:hover {
    background: #005f8d;
    transform: translateY(-1px);
}

.photoez-btn-secondary {
    background: #f0f6fb;
    color: #0073aa;
    border: 1px solid #0073aa;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photoez-btn-secondary:hover {
    background: #e0eef8;
}

.photoez-btn-danger {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photoez-btn-danger:hover {
    background: #c82333;
}

.photoez-btn-text {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    text-decoration: underline;
}

.photoez-btn-text:hover {
    color: #333;
}

/* Credit Banner */
.photoez-credit-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.photoez-credit-icon {
    font-size: 24px;
}

.photoez-credit-expiry {
    font-size: 12px;
    color: #666;
    margin-left: 8px;
}

/* Booking Card */
.photoez-booking-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

.photoez-booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.photoez-booking-card-header h3 {
    margin: 0;
    font-size: 20px;
}

.photoez-status-badge {
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.photoez-booking-card-body {
    padding: 25px;
}

.photoez-booking-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.photoez-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photoez-detail-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.photoez-detail-value {
    font-size: 15px;
    color: #1d2327;
    font-weight: 500;
}

/* Warning / Info Boxes */
.photoez-warning-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 14px 16px;
    color: #856404;
    font-size: 14px;
    margin-top: 15px;
}

.photoez-info-box {
    background: #e8f4f8;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 14px 16px;
    color: #0c5460;
    font-size: 14px;
    margin-top: 15px;
}

/* Action Buttons */
.photoez-booking-actions {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

/* Policy Box */
.photoez-policy-box {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: #555;
}

.photoez-policy-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

/* Reschedule Panel */
.photoez-panel {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    margin-top: 20px;
}

.photoez-panel h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.photoez-panel-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Confirmation Box */
.photoez-confirmation-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-align: center;
}

.photoez-confirmation-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.photoez-credit-awarded {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    text-align: left;
}

/* Responsive */
@media (max-width: 600px) {

    .photoez-booking-detail-grid {
        grid-template-columns: 1fr;
    }

    .photoez-booking-actions {
        flex-direction: column;
    }

    .photoez-booking-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* PhotoEZ Booking – "Select This Session" button styling (modal) */
.photoez-confirm-session {
    display: inline-block;
    padding: 10px 22px;
    background:#0073aa; /* main brand color */
    color: #ffffff;
    border-radius: 999px; /* pill shape */
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.photoez-confirm-session:hover {
    background: #0e347b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}

.photoez-confirm-session:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.photoez-confirm-session:disabled,
.photoez-confirm-session[disabled] {
    background: #0073aa;
    color: #f7f7f7;
    cursor: not-allowed;
    box-shadow: none;
}

/* PhotoEZ Booking – Back button styling */
.photoez-back-button {
    display: inline-block;
    padding: 8px 18px;
    background: #e3e7f2;           /* light, soft version of your blue */
    color: #0b2559;                /* main brand blue for text */
    border-radius: 999px;          /* pill shape to match Next if desired */
    border: 1px solid #c5cfe5;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.photoez-back-button:hover {
    background: #d5ddf0;
    border-color: #b3bfdf;
    transform: translateY(-1px);
}

.photoez-back-button:active {
    transform: translateY(0);
}

.photoez-back-button:disabled,
.photoez-back-button[disabled] {
    background: #f0f0f0;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}
