/* Dcash Booking System Styles */
:root {
    --dcash-blue: #FFD700;
    --dcash-blue-dark: #2e59d9;
    --dcash-green: #1cc88a;
    --dcash-red: #e74a3b;
    --dcash-yellow: #f6c23e;
    --dcash-gray: #858796;
    --dcash-light: #f8f9fc;
}

.dcash-booking-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    border-top: 4px solid var(--dcash-blue);
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.dcash-logo {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 15px;
}

.booking-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 20px 0 10px;
    font-weight: 700;
}

.booking-header p {
    font-size: 16px;
    color: var(--dcash-gray);
    margin-bottom: 0;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.booking-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eaecf4;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: #eaecf4;
    width: 32%;
    padding: 15px 5px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    color: #6e707e;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--dcash-blue);
    color: white;
}

.dcash-booking-form {
    position: relative;
}

.form-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-section h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaecf4;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #5a5c69;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d3e2;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: #fff;
    color: #6e707e;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--dcash-blue);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.availability-calendar {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    border: 1px solid #e3e6f0;
}

.availability-calendar h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.time-slot {
    background: #fff;
    border: 1px solid #e3e6f0;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: var(--dcash-blue);
}

.time-slot.selected {
    background: var(--dcash-blue);
    color: white;
    border-color: var(--dcash-blue);
}

.slot-status {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

.slot-status.available {
    color: var(--dcash-green);
}

.slot-status.booked {
    color: var(--dcash-red);
}

.confirmation-details {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e3e6f0;
}

.detail-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eaecf4;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #5a5c69;
    width: 120px;
}

.detail-value {
    color: #2c3e50;
    flex: 1;
}

.payment-section {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e3e6f0;
}

.payment-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.payment-options {
    margin-bottom: 15px;
}

.payment-option {
    background: #fff;
    border: 1px solid #d1d3e2;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option.active {
    border-color: var(--dcash-blue);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.payment-option label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
}

.payment-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaecf4;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.prev-btn {
    background: var(--dcash-gray);
    color: white;
}

.prev-btn:hover {
    background: #6e707e;
}

.next-btn, .submit-btn {
    background: var(--dcash-blue);
    color: white;
}

.next-btn:hover, .submit-btn:hover {
    background: var(--dcash-blue-dark);
}

.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.form-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.success-message {
    text-align: center;
    padding: 30px;
}

.checkmark-animation {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

.checkmark {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

.checkmark__circle {
    stroke: var(--dcash-green);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    stroke: var(--dcash-green);
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.new-booking-btn {
    background: var(--dcash-blue);
    color: white;
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.new-booking-btn:hover {
    background: var(--dcash-blue-dark);
}

/* Responsive styles */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .booking-steps:before {
        display: none;
    }
    
    .dcash-booking-container {
        padding: 20px 15px;
        margin: 1rem;
    }
}