.osc-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.osc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.osc-header h1 {
    margin: 0;
    color: #1f2937;
}

.osc-user-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.osc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.osc-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.osc-stat-card h3 {
    margin: 0 0 5px 0;
    font-size: 36px;
}

.osc-stat-card p {
    margin: 0;
    opacity: 0.9;
}

.osc-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

#osc-patient-search {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.osc-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.osc-btn-primary {
    background: #3b82f6;
    color: white;
}

.osc-btn-primary:hover {
    background: #2563eb;
}

.osc-btn-secondary {
    background: #6b7280;
    color: white;
}

.osc-patient-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s;
}

.osc-patient-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.osc-patient-info h3 {
    margin: 0 0 5px 0;
    color: #1f2937;
}

.osc-patient-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.osc-patient-actions {
    display: flex;
    gap: 10px;
}

.osc-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.osc-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.osc-modal-large {
    max-width: 900px;
}

.osc-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #9ca3af;
    cursor: pointer;
}

.osc-modal-close:hover {
    color: #1f2937;
}

.osc-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

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

.osc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
}

.osc-form-group input,
.osc-form-group select,
.osc-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.osc-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.osc-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 20px;
}

.osc-login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

.osc-order-list {
    margin-top: 20px;
}

.osc-order-item {
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.osc-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.osc-status-pending { background: #fef3c7; color: #92400e; }
.osc-status-processing { background: #dbeafe; color: #1e40af; }
.osc-status-completed { background: #d1fae5; color: #065f46; }
.osc-status-cancelled { background: #fee2e2; color: #991b1b; }