/* Legal Phone Consult - Booking Form Styles */
.lpc-booking-container {
    max-width: 700px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #1a202c;
}

.lpc-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 10px;
}

.lpc-step {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #e2e8f0;
    color: #718096;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.lpc-step:first-child { border-radius: 8px 0 0 8px; }
.lpc-step:last-child { border-radius: 0 8px 8px 0; }

.lpc-step.active {
    background: #1a365d;
    color: #fff;
}

.lpc-step.completed {
    background: #2f855a;
    color: #fff;
}

.lpc-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.lpc-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lpc-panel h2 {
    color: #1a365d;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.lpc-panel > p {
    color: #718096;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Date Picker */
.lpc-date-picker {
    margin-bottom: 25px;
}

.lpc-date-picker input[type="date"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    color: #1a202c;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.lpc-date-picker input[type="date"]:focus {
    outline: none;
    border-color: #1a365d;
}

/* Time Slots */
.lpc-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.lpc-time-slot {
    padding: 12px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.lpc-time-slot:hover {
    border-color: #1a365d;
    background: #ebf8ff;
}

.lpc-time-slot.selected {
    background: #1a365d;
    color: #fff;
    border-color: #1a365d;
}

.lpc-time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f7fafc;
}

.lpc-time-slot.disabled:hover {
    border-color: #e2e8f0;
    background: #f7fafc;
}

.lpc-loading {
    text-align: center;
    padding: 30px;
    color: #718096;
}

.lpc-no-slots {
    text-align: center;
    padding: 30px;
    color: #e53e3e;
    background: #fff5f5;
    border-radius: 8px;
    border: 1px solid #feb2b2;
}

/* Form Fields */
.lpc-form-group {
    margin-bottom: 20px;
}

.lpc-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
}

.lpc-form-group label .required {
    color: #e53e3e;
    margin-left: 2px;
}

.lpc-form-group input,
.lpc-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.lpc-form-group input:focus,
.lpc-form-group textarea:focus {
    outline: none;
    border-color: #1a365d;
}

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

.lpc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Summary */
.lpc-summary {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.lpc-summary h3 {
    margin-top: 0;
    color: #1a365d;
    font-size: 18px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.lpc-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

.lpc-summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #1a365d;
    margin-top: 5px;
    padding-top: 15px;
    border-top: 2px solid #1a365d;
}

.lpc-summary-label {
    color: #718096;
}

.lpc-summary-value {
    color: #1a202c;
    font-weight: 600;
    text-align: right;
}

/* Buttons */
.lpc-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.lpc-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.lpc-btn-primary {
    background: #1a365d;
    color: #fff;
}

.lpc-btn-primary:hover {
    background: #2c5282;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.lpc-btn-primary:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lpc-btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.lpc-btn-secondary:hover {
    background: #cbd5e0;
}

/* Error Messages */
.lpc-error {
    background: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.lpc-error.show {
    display: block;
}

/* Success */
.lpc-success {
    text-align: center;
    padding: 40px 20px;
}

.lpc-success-icon {
    width: 80px;
    height: 80px;
    background: #38a169;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
}

.lpc-success h2 {
    color: #2f855a;
    font-size: 28px;
    margin-bottom: 15px;
}

.lpc-success p {
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 20px;
}

.lpc-success-details {
    background: #f0fff4;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: 20px auto;
    text-align: left;
}

.lpc-success-details p {
    margin: 8px 0;
    font-size: 15px;
    color: #2d3748;
}

/* Responsive */
@media (max-width: 600px) {
    .lpc-form-row {
        grid-template-columns: 1fr;
    }

    .lpc-time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .lpc-progress {
        font-size: 12px;
    }

    .lpc-step {
        padding: 8px 4px;
    }

    .lpc-buttons {
        flex-direction: column;
    }
}


/* ============================================
   CONFIRMATION PAGE STYLES
   ============================================ */

.lpc-confirmation-page {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.lpc-confirmation-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.lpc-confirmation-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 50px 30px;
    text-align: center;
}

.lpc-confirmation-header h1 {
    margin: 20px 0 10px;
    font-size: 32px;
    font-weight: 700;
}

.lpc-subtitle {
    font-size: 17px;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.lpc-success-icon {
    width: 80px;
    height: 80px;
    background: #38a169;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4);
}

.lpc-confirmation-body {
    padding: 30px;
}

.lpc-detail-section {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.lpc-detail-section h3 {
    margin: 0 0 18px 0;
    color: #1a365d;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lpc-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
}

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

.lpc-label {
    color: #718096;
    font-weight: 500;
    min-width: 120px;
}

.lpc-value {
    color: #1a202c;
    font-weight: 600;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.lpc-price {
    color: #38a169;
    font-size: 18px;
}

.lpc-status-paid {
    color: #38a169;
    background: #c6f6d5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.lpc-payment-section {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #38a169;
}

.lpc-calendar-section {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border: 2px solid #4299e1;
    text-align: center;
}

.lpc-calendar-section h3 {
    color: #2b6cb0;
    justify-content: center;
}

.lpc-calendar-desc {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 15px;
}

.lpc-calendar-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.lpc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.lpc-btn-primary {
    background: #1a365d;
    color: #fff;
}

.lpc-btn-primary:hover {
    background: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.lpc-btn-google {
    background: #fff;
    color: #1a73e8;
    border: 2px solid #1a73e8;
}

.lpc-btn-google:hover {
    background: #e8f0fe;
    transform: translateY(-2px);
}

.lpc-btn-apple {
    background: #fff;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.lpc-btn-apple:hover {
    background: #ebf8ff;
    transform: translateY(-2px);
}

.lpc-btn-icon {
    font-size: 18px;
}

.lpc-calendar-help {
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
}

.lpc-calendar-help p {
    margin: 6px 0;
    font-size: 13px;
    color: #4a5568;
}

.lpc-next-steps {
    background: #fffaf0;
    border: 2px solid #ed8936;
}

.lpc-next-steps h3 {
    color: #c05621;
}

.lpc-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lpc-steps-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #2d3748;
    border-bottom: 1px solid #feebc8;
}

.lpc-steps-list li:last-child {
    border-bottom: none;
}

.lpc-notes-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.lpc-confirmation-footer {
    background: #edf2f7;
    padding: 25px 30px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.lpc-confirmation-footer p {
    margin: 5px 0;
    color: #4a5568;
    font-size: 14px;
}

.lpc-footer-small {
    font-size: 12px !important;
    color: #718096 !important;
}

/* Responsive */
@media (max-width: 600px) {
    .lpc-confirmation-header {
        padding: 30px 20px;
    }

    .lpc-confirmation-header h1 {
        font-size: 24px;
    }

    .lpc-confirmation-body {
        padding: 20px;
    }

    .lpc-detail-section {
        padding: 18px;
    }

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

    .lpc-value {
        text-align: left;
        margin-left: 0;
    }

    .lpc-calendar-buttons {
        flex-direction: column;
    }

    .lpc-btn {
        width: 100%;
        justify-content: center;
    }
}
