﻿:root {
    --primary-green: #2A7F62;
    --secondary-orange: #F9A826;
    --light-green: #E8F5F0;
    --dark-green: #1D5D48;
    --light-orange: #FFF3E0;
    --light-gray: #f8f9fa;
    --border-radius: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

.bg-primary-green {
    background-color: var(--primary-green);
}

.bg-light-green {
    background-color: var(--light-green);
}

.bg-secondary-orange {
    background-color: var(--secondary-orange);
}

.bg-light-orange {
    background-color: var(--light-orange);
}

.text-primary-green {
    color: var(--primary-green);
}

.text-secondary-orange {
    color: var(--secondary-orange);
}

.btn-primary-green {
    background-color: var(--primary-green);
    color: white;
    border: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

    .btn-primary-green:hover {
        background-color: var(--dark-green);
        color: white;
    }

.btn-secondary-orange {
    background-color: var(--secondary-orange);
    color: white;
    border: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

    .btn-secondary-orange:hover {
        background-color: #E89720;
        color: white;
    }

.compact-card {
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    border: none;
}

    .compact-card .card-header {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .compact-card .card-body {
        padding: 1rem;
    }

.form-control, .form-control-sm {
    font-size: 0.85rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 0.8rem;
}

label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.doctor-summary {
    background-color: var(--light-green);
    border-radius: var(--border-radius);
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.doctor-img-sm {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.time-slot {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .time-slot:hover {
        background-color: var(--light-green);
        border-color: var(--primary-green);
    }

    .time-slot.selected {
        background-color: var(--primary-green);
        color: white;
        border-color: var(--primary-green);
    }

    .time-slot.disabled {
        background-color: #f8f9fa;
        color: #6c757d;
        cursor: not-allowed;
    }

.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

    .step-progress:before {
        content: '';
        position: absolute;
        top: 15px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #dee2e6;
        z-index: 1;
    }

.step-progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 33.33%;
}

.step-progress-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-progress-step.active .step-progress-step-number {
    background-color: var(--primary-green);
    color: white;
}

.step-progress-step.completed .step-progress-step-number {
    background-color: var(--secondary-orange);
    color: white;
}

.step-progress-step-label {
    font-size: 0.8rem;
    font-weight: 500;
}

.step {
    display: none;
}

    .step.active {
        display: block;
    }

.appointment-details {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.checkmark {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    font-size: 30px;
    line-height: 60px;
    margin-bottom: 1rem;
}

/* Print Styles for POS Receipt */
@media print {
    body *

{
    visibility: hidden;
    background: white !important;
    color: black !important;
}

#printSection, #printSection * {
    visibility: visible;
}

#printSection {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: white !important;
    color: black !important;
    padding: 15px;
}

.no-print {
    display: none !important;
}

.print-small {
    font-size: 12px !important;
}

.print-center {
    text-align: center !important;
}

.print-border-bottom {
    border-bottom: 1px dashed #ccc !important;
    padding-bottom: 8px !important;
    margin-bottom: 8px !important;
}

}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #dee2e6;
}

.info-text {
    font-size: 0.8rem;
    color: #6c757d;
}

.compact-table th, .compact-table td {
    padding: 0.3rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .container

{
    padding: 0 10px;
}

.step-progress-step-label {
    font-size: 0.7rem;
}
}
