:root {
    --sh-primary: #2563eb;
    --sh-secondary: #475569;
    --sh-accent: #10b981;
    --sh-bg: #f8fafc;
    --sh-card-bg: #ffffff;
    --sh-text: #1e293b;
    --sh-border: #e2e8f0;
    --sh-purple: #3f4079;
    --sh-orange: #f26522;
    --sh-teal: #74d1c6;
}



.sh-doctor-form-container {

    margin: 40px auto;
    color: var(--sh-text);
}

.sh-form-section {
    background: var(--sh-card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--sh-border);
}

.sh-form-section h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--sh-secondary);
    border-bottom: 2px solid var(--sh-bg);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.sh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 20px;
}

.sh-form-group {
    margin-bottom: 5px;
}

.sh-form-group .form-control {
    min-height: unset;
}

.sh-portal-btn-orange,
.sh-btn-orange {
    background-color: var(--sh-orange) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sh-portal-btn-orange:hover,
.sh-btn-orange:hover {
    background-color: #74d1c6 !important;
    color: #000000 !important;

}

.sh-form-group.full-width {
    grid-column: span 2;
}

.sh-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.sh-form-group input,
.sh-form-group textarea,
.sh-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--sh-border);
    border-radius: 8px;
    /*background: var(--sh-bg);*/
    transition: all 0.3s ease;
}

.sh-form-group input:focus,
.sh-form-group textarea:focus {
    outline: none;
    border-color: var(--sh-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sh-repeater-item {
    background: var(--sh-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid var(--sh-border);
}

.sh-repeater-item .remove-item {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.2s;
}

.sh-repeater-item .remove-item:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.sh-btn-add {
    background: var(--sh-bg);
    border: 2px dashed var(--sh-border);
    color: var(--sh-secondary);
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sh-btn-add:hover {
    border-color: var(--sh-primary);
    color: var(--sh-primary);
    background: #eff6ff;
}

.sh-btn-submit {
    background: var(--sh-primary);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    display: block;
    width: 100%;
    transition: background 0.3s ease;
}

.sh-btn-submit:hover {
    background: #1d4ed8;
}

.media-upload-area {
    display: flex;
    gap: 20px;
    align-items: center;
}

.media-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--sh-border);
    flex-shrink: 0;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media.sh-p-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Physician Edition Cart Enforcement */
.sh-physician-item-locked .remove,
.sh-physician-item-locked .remove_from_cart_button,
.sh-physician-item-locked .woocommerce-cart-item__remove a,
.sh-physician-item-locked .product-remove a {
    display: none !important;
}

/* File input normalization */
input[type="file"].form-control-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--sh-border);
    background: #fff;
}

@media (max-width: 768px) {
    .sh-form-grid {
        grid-template-columns: 1fr;
    }

    .sh-form-group.full-width {
        grid-column: span 1;
    }
}

/* Pill Selection */
.sh-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--sh-border);
    background: var(--sh-bg);
    min-height: 50px;
    margin-top: 10px;
    border-radius: 8px;
}

.sh-pill {
    background: var(--sh-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.sh-pill .remove-pill {
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    opacity: 0.8;
    line-height: 1;
}

.sh-pill .remove-pill:hover {
    opacity: 1;
}

/* Dashboard Widgets */
.sh-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.sh-widget-card {
    background: var(--sh-card-bg);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    border: 1px solid var(--sh-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sh-widget-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: var(--sh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.sh-widget-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}



.sh-widget-content h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.sh-widget-content span {
    color: var(--sh-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bg-success .sh-widget-icon {
    background: #115f3b;
    color: #ffffff;
}

.bg-success .sh-widget-content span,
.bg-success .sh-widget-content h3 {
    color: #ffffff;
}

.bg-danger .sh-widget-icon {
    background: #a82835;
    color: #ffffff;
}

.bg-danger .sh-widget-content span,
.bg-danger .sh-widget-content h3 {
    color: #ffffff;
}

.bg-primary .sh-widget-icon {
    background: #0b4293;
    color: #ffffff;
}

.bg-info .sh-widget-icon {
    background: #087b92;
    color: #ffffff;
}

.bg-info .sh-widget-content span,
.bg-info .sh-widget-content h3 {
    color: #ffffff;
}

/* Frontend Tabs */
.sh-frontend-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--sh-border);
    margin-bottom: 30px;
}

.sh-tab-link {
    padding: 12px 24px;
    text-decoration: none;
    color: var(--sh-secondary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.sh-tab-link.active {
    color: var(--sh-primary);
    border-bottom-color: var(--sh-primary);
}

.sh-tab-link:hover {
    color: var(--sh-primary);
}

/* Table */
.sh-table-container {
    background: var(--sh-card-bg);
    border-radius: 12px;
    border: 1px solid var(--sh-border);
    overflow: hidden;
    margin-bottom: 30px;
}

.sh-table {
    width: 100%;
    border-collapse: collapse;
}

.sh-table th,
.sh-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--sh-border);
}

.sh-table th {
    background: var(--sh-bg);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--sh-secondary);
    font-weight: 700;
}

.sh-table td {
    font-size: 0.9rem;
}

.sh-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sh-recent-header h4 {
    margin: 0;
}

.sh-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--sh-bg);
    border: 1px solid var(--sh-border);
}

.sh-badge-success {
    background: #dcfce7;
    color: #166534;
}

.sh-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 768px) {
    .sh-dashboard-widgets {
        grid-template-columns: 1fr;
    }
}

.border-dashed {
    border: 2px dashed var(--sh-border) !important;
}

.sh-company-logo-preview img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Portal Sidebar Layout */
.sh-portal-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.sh-portal-sidebar {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--sh-border);
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.sh-portal-content {
    background: #ffffff;
}

.sh-sidebar-link {
    padding: 12px 20px;
    text-decoration: none !important;
    color: var(--sh-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.sh-sidebar-link:hover {
    background: #0f172a;
    color: #ffffff;
}

.sh-sidebar-link.active {
    background: #f0f7ff;
    color: var(--sh-primary);
    border-left-color: var(--sh-primary);
}

.sh-sidebar-link .dashicons {
    margin-right: 10px;
    font-size: 18px;
}

@media (max-width: 900px) {
    .sh-portal-container {
        grid-template-columns: 1fr;
    }
}

/* Doctor Search Directory */
.sh-doctor-search-wrapper {

    background: #f5f8fa;
    padding-bottom: 20px;
}

.sh-search-top-bar {
    background: var(--sh-purple);

}

.sh-search-top-bar .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}


.sh-doctor-list-card {
    cursor: pointer;
}

.sh-doctor-list-card h5 {
    font-size: 1.2em;
}

.sh-doctor-list-card .btn-primary {
    background: var(--sh-orange);
    border-color: var(--sh-orange);
    color: #fff;
}

.sh-doctor-list-card .btn-primary:hover {
    background: var(--sh-teal);
    border-color: var(--sh-teal);
    color: #000;
}

.sh-doctor-list-card .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.sh-doctor-list-card:hover .card {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.sh-doctor-detail-header {
    background: linear-gradient(135deg, var(--sh-purple) 0%, #4c1d95 100%);
}

.sh-doctor-detail-header h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#sh-doctor-search-map {
    border: 1px solid var(--sh-border);
}

.sh-card-specs .badge {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.transition-all {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover;
}

/* Test Kits Section */
.sh-kit-filters {
    background: #fdfdfd;
}

.sh-register-kit-card {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    transition: all 0.3s;
}

.sh-register-kit-card:hover {
    border-color: var(--sh-primary);
    background: #f1f5f9;
}

/* Modal Simple Implementation */
.sh-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.sh-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: sh-modal-slide 0.3s ease-out;
}

@keyframes sh-modal-slide {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sh-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sh-modal-body {
    padding: 24px;
}

.sh-modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
}

.sh-modal-close:hover {
    color: #64748b;
}

.sh-pagination .btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Doctor Detail Page */
.sh-left-icon-infobox {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}

.sh-left-icon-infobox i.leftIcon {
    font-size: 40px;
    position: absolute;
    left: 0;
    color: #3f4079;
    top: 0;
}

.sh-left-icon-infobox p {
    color: #494949;
    margin: 0 0 15px 0;
    padding: 0;

    font-size: 0.9rem;
    line-height: 140%;
}

.sidebar-kit-list .sh-kit-item {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.sidebar-kit-list .sh-kit-item:last-child {
    border-bottom: none;
}

/* Specialties List Multi-column Customization */
.sh-specialties-list li {
    font-size: 0.9rem;
    padding: 4px 0;
}

.sh-specialties-list li .dashicons-yes {
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .sh-specialties-list li {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}