@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #f6f8fa;
    color: #222;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    width: 280px;
    min-width: 240px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-y: auto;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
}

.ap-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 3px solid #e0e0e0;
    transition: transform 0.2s;
}

.ap-logo:hover {
    transform: scale(1.08);
}

.sidebar h1 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f6f8fa;
    padding: 30px 20px;
    min-height: 100vh;
    margin-left: 280px;
    width: calc(100% - 280px);
    box-sizing: border-box;
}

.sidebar-nav {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10px;
}

.nav-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border-left: 3px solid transparent;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-left-color: #fff;
    font-weight: 600;
}

.nav-btn:before {
    content: '';
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.nav-btn:hover:before,
.nav-btn.active:before {
    background: #fff;
    transform: scale(1.2);
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    border-radius: 14px;
    padding: 34px 32px 24px 32px;
    min-width: 340px;
    max-width: 96vw;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-actions {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 18px 0 0 0;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}
.modal-actions button {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    transition: background 0.15s;
}
.modal-actions button:disabled {
    background: #bdbdbd;
    color: #fff;
    cursor: not-allowed;
}
.modal-actions button:hover:enabled {
    background: #1b5e20;
}

.close-modal {
    position: absolute;
    top: 9px; right: 12px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    z-index: 10;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Content Boxes */
.content-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.content-header h2 {
    margin: 0;
    color: #2e7d32;
    font-size: 1.6rem;
}

/* Form Container */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.form-container h2 {
    color: #2e7d32;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4caf50;
    border-radius: 3px;
}

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

label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
}

input, textarea, select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.5;
}

/* Lists */
.customer-list, .order-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.customer-list li, .order-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 24px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.customer-list li:hover, .order-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Customer List Styles */
.customer-info h3 {
    margin: 0 0 8px 0;
    color: #2e7d32;
    font-size: 1.2rem;
}

.customer-info p {
    margin: 6px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-info .address {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Order Item Styles */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.order-id {
    font-weight: 600;
    color: #2e7d32;
    font-size: 1.1rem;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.order-details > div {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-details i {
    color: #2e7d32;
    width: 18px;
    text-align: center;
}

/* Actions */
.customer-actions, .order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e0e0e0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    margin-top: 20px;
}

.empty-state p {
    margin: 0;
    font-size: 1.1rem;
}

/* Buttons */
button, .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #2e7d32;
    color: white;
}

.btn-primary:hover {
    background: #1b5e20;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    background: #d32f2f;
    color: white;
}

.btn-danger:hover {
background: #b71c1c;
}

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

/* Order ID Input */
.order-id-input {
display: flex;
gap: 8px;
align-items: center;
}

.order-id-input input[type="text"] {
flex: 1;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 0.95rem;
}

.btn-generate {
background: #f0f0f0;
border: 1px solid #ddd;
border-radius: 6px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
}

.btn-generate:hover {
background: #e0e0e0;
}

.btn-generate:active {
transform: scale(0.95);
}

label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #333;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

/* Receipt View Styles */
.receipt-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.receipt-container {
    width: 100%;
    max-width: 58mm;
    background: white;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.2;
}

.receipt-header {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.receipt-divider {
    border-top: 1px dashed #000;
    margin: 10px 0;
}

/* Driver Copy Header */
.driver-copy-header {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    font-weight: 400 !important;
}

.driver-ap-logo {
    width: 50px;
    height: auto;
    margin-right: 15px;
}

.driver-copy-text {
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: 400 !important;
}

.driver-copy-text .line {
    line-height: 1.2;
    font-weight: 400 !important;
    font-family: 'Arial', sans-serif !important;
}

.receipt-copy-label {
    text-align: center;
    font-weight: bold;
    margin: 5px 0;
    text-transform: uppercase;
}

.receipt-details {
    margin: 10px 0;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    word-break: break-word;
}

.receipt-label {
    font-weight: bold;
    margin-right: 5px;
    white-space: nowrap;
}

.receipt-value {
    text-align: right;
    flex-grow: 1;
    margin-left: 10px;
    font-weight: 600;
}

.receipt-footer {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.receipt-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Print Styles */
@page {
    size: 58mm 297mm;
    margin: 0;
    padding: 0;
}

@media print {
    body * {
        visibility: hidden;
    }
    
    #receipt-view,
    #receipt-view * {
        visibility: visible;
    }
    
    #receipt-view {
        position: absolute;
        left: 0;
        top: 0;
        width: 58mm;
        padding: 0;
        margin: 0;
    }
    
    .receipt-actions {
        display: none !important;
    }
    
    .receipt-container {
        box-shadow: none;
        padding: 10px 5px;
        width: 100%;
    }
}
    
    @media print {
    body * {
        visibility: hidden;
    }
    
    .print-modal, 
    .print-modal *,
    .printable, 
    .printable * {
        visibility: visible;
    }
    
    .print-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .print-copy {
        background: white;
        padding: 8px 10px;
        margin: 0 auto;
        max-width: 100%;
        box-shadow: none;
        page-break-after: always;
        position: relative;
        box-sizing: border-box;
        border: 1px solid #e0e0e0;
        font-family: Arial, sans-serif;
        line-height: 1.3;
    }
    
    .printable {
        width: 100%;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .modal-actions {
        display: none !important;
    }
    
    .print-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid #2e7d32;
    }
    
    .header-left {
        display: flex;
        align-items: center;
    }
    
    .header-text {
        margin-left: 10px;
    }
    
    .header-text .title {
        font-size: 13px;
        font-weight: bold;
        color: #2e7d32;
        margin: 0;
        line-height: 1.1;
        letter-spacing: 0.3px;
    }
    
    .header-text .subtitle {
        font-size: 11px;
        color: #d32f2f;
        font-weight: 600;
        margin: 1px 0 0 0;
        letter-spacing: 0.2px;
    }
    
    .header-right {
        text-align: right;
        font-size: 10px;
        line-height: 1.2;
        color: #333;
    }
    
    .order-id, .date {
        margin: 2px 0;
    }
    
    .print-logo {
        width: 22px;
        height: 22px;
        object-fit: contain;
        margin-right: 6px;
        vertical-align: middle;
    }
    
    .print-title {
        flex: 1;
        display: flex;
        align-items: center;
    }
    
    .print-title h2 {
        margin: 0;
        color: #2e7d32;
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .print-title h3 {
        margin: 5px 0 0 0;
        color: #d32f2f;
        font-size: 1rem;
        text-align: left;
        padding: 0;
        background: transparent;
        font-weight: 600;
    }
    
    .print-body {
        margin: 15px 0;
        padding: 0 5px;
        font-size: 13px;
        line-height: 1.5;
        position: relative;
    }
    
    .section {
        margin-bottom: 20px;
    }
    
    .section h4 {
        margin: 0 0 4px 0;
        padding-bottom: 2px;
        border-bottom: 1px solid #f0f0f0;
        color: #2e7d32;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .detail-row {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .detail-col {
        flex: 1;
        min-width: 150px;
        padding: 0 10px;
    }
    
    .detail-col p {
        margin: 8px 0;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .detail-col p {
        margin: 2px 0;
        font-size: 10.5px;
        color: #333;
    }
    
    .address-box {
        background: #fafafa;
        border: 1px solid #f0f0f0;
        border-radius: 1px;
        padding: 4px 6px;
        margin: 3px 0 8px 0;
        line-height: 1.2;
        font-size: 10.5px;
        color: #444;
    }
    
    .barcode-section {
        text-align: center;
        margin: 20px 0;
        padding: 15px 0;
        border-top: 1px dashed #ddd;
        border-bottom: 1px dashed #ddd;
    }
    
    .qrcode-container {
        margin: 15px auto;
        text-align: center;
        padding: 10px 0;
    }
    
    .qrcode {
        margin: 0 auto;
        width: 120px;
        height: 120px;
        display: block;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        border: 1px solid #eee;
        padding: 5px;
        background: white;
    }
    
    @media print {
        .qrcode {
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
            filter: none !important;
            border: 1px solid #ddd;
        }
    }
    
    .location-thanks {
        text-align: center;
        font-size: 13px;
        margin: 10px auto;
        padding: 8px 0;
        font-weight: 500;
        color: #2e7d32;
        border-top: 1px solid #eee;
        letter-spacing: 0.5px;
        max-width: 80%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .thank-you-container {
        text-align: center;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #eee;
        position: relative;
    }
    
    .thank-you {
        font-size: 14px;
        color: #2e7d32;
        font-weight: 600;
        text-align: center;
        display: inline-block;
        padding: 8px 20px;
        background-color: #f5f5f5;
        border-radius: 4px;
        margin: 10px 0;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .signature-section {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .signature-box {
        text-align: center;
        width: 45%;
    }
    
    .signature-line {
        border-bottom: 1px solid #000;
        height: 1px;
        margin: 0 auto 5px;
        width: 80%;
    }
    
    .signature-label {
        font-size: 12px;
        color: #666;
    }
    
    .print-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .print-col {
        flex: 1;
        min-width: 45%;
        background: #f9f9f9;
        padding: 10px;
        border-radius: 4px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        margin-bottom: 10px;
    }
    
    .print-section {
        margin: 15px 0;
        padding: 10px;
        background: #f9f9f9;
        border-radius: 4px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        border-left: 3px solid #2e7d32;
    }
    
    .print-section h4 {
        margin: 0 0 10px 0;
        color: #2e7d32;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 5px;
    }
    
    .address-box {
        background: #fff;
        padding: 12px;
        border: 1px solid #eee;
        border-radius: 4px;
        margin-top: 8px;
        line-height: 1.5;
        min-height: 60px;
    }
    
    .signature-section {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px dashed #999;
    }
    
    .signature-box {
        text-align: center;
        width: 45%;
    }
    
    .signature-line {
        border-bottom: 1px solid #000;
        height: 1px;
        margin: 30px 0 5px 0;
    }
    
    .print-footer {
        margin-top: 30px;
        padding-top: 10px;
        font-size: 12px;
        color: #666;
        text-align: center;
        border-top: 1px solid #eee;
    }
    
    .print-note {
        font-style: italic;
        margin-top: 5px;
    }
    
    .print-footer {
        position: relative;
        margin-top: 50px;
        page-break-after: always;
    }
    
    .location-id-container {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        padding: 15px 0 25px 0;
        border-top: 1px solid #eee;
        background: #fff;
    }
    
    .location-id {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2e7d32;
        margin: 0;
    }
    
    @page {
        size: A4;
        margin: 15mm;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .order-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
        margin-left: 0;
        width: 100%;
    }
    
    .content-box {
        padding: 20px 15px;
    }
    
    .content-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .customer-actions, .order-actions {
        justify-content: center;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.form-actions button {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #2e7d32;
    color: white;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background-color: #1b5e20;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Error message styling */
.error-message {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

input:invalid + .error-message {
    display: block;
}

/* Order List & Details */
.orders-box {
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.09);
    padding: 32px 24px;
    margin-top: 24px;
}
.order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.order-list li {
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-list li:last-child {
    border-bottom: none;
}
.order-list button {
    background: #e8f5e9;
    color: #2e7d32;
    border: none;
    border-radius: 6px;
    padding: 7px 13px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.15s;
}
.order-list button:hover {
    background: #c8e6c9;
}

.order-details {
    background: #f9fbe7;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 18px;
    font-size: 1.04rem;
}
.order-details p {
    margin: 5px 0;
}
.order-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}
.order-actions button {
    padding: 8px 18px;
    border-radius: 7px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: #e8f5e9;
    color: #2e7d32;
    transition: background 0.15s;
}
.order-actions button:hover {
    background: #c8e6c9;
}

.coming-soon-box {
    width: 100%;
    max-width: 480px;
    margin: 60px auto 0 auto;
    background: #fffde7;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.07);
    padding: 38px 24px;
    text-align: center;
    color: #6d4c41;
}

/* Print Styles (injected inline for print window) */

@media (max-width: 700px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px 10px;
    }
    .sidebar h1 {
        margin-left: 18px;
        font-size: 1.1rem;
    }
    .main-content {
        padding: 16px;
    }
    .orders-box, .coming-soon-box {
        padding: 18px 5px;
        margin-top: 18px;
    }
    .modal-content {
        min-width: 95vw;
        padding: 12px 3vw 8px 3vw;
    }
}


.welcome-box p {
    margin: 0;
    font-size: 1.08rem;
    color: #555;
}

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

@media (max-width: 700px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px 10px;
    }
    .sidebar h1 {
        margin-left: 18px;
        font-size: 1.1rem;
    }
    .main-content {
        padding: 16px;
    }
    .welcome-box {
        padding: 24px 8px;
    }
}
