/* Portal Styles - Mobile First, Thai-friendly fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Thai Font Support */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600&display=swap');

body {
    font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 500px;
}

.login-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px 30px;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    color: #e91e63;
    font-size: 36px;
    margin-bottom: 10px;
}

.logo p {
    color: #666;
    font-size: 16px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="url"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e91e63;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.form-note {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: #e91e63;
    color: white;
}

.btn-primary:hover {
    background: #d81b60;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-small {
    padding: 6px 12px;
    background: #e91e63;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.btn-small:hover {
    background: #d81b60;
}

.btn-link {
    background: none;
    border: none;
    color: #e91e63;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.btn-link:hover {
    color: #d81b60;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: scale(1.1);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    font-weight: 500;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-warning h4 {
    margin: 0 0 10px;
    color: #856404;
}

.alert-warning ul {
    margin: 10px 0 0 20px;
}

.alert-dismissible {
    position: relative;
    padding-right: 40px;
    animation: slideDown 0.3s ease-out;
}

.alert .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
}

.alert .close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portal Layout */
.portal-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Portal Sidebar */
.portal-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: #2c3e50;
    color: #fff;
    overflow-y: auto;
    transition: transform 0.3s;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    background: rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: normal;
}

/* Language Switcher */
.language-switcher {
    width: 100%;
    margin: 0;
}

.language-form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.language-select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: block;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.15);
}

.language-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-select option {
    background: #2c3e50;
    color: white;
    padding: 8px;
}

/* Sidebar Navigation */
.sidebar-nav {
    list-style: none;
    padding: 20px 0;
    margin-top: 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-nav a.active {
    background: #e91e63;
    color: white;
}

/* Portal Content */
.portal-content {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
}

.content-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-header h1 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Status Elements */
.status-card {
    border-left: 4px solid #ddd;
}

.status-card.approved {
    border-left-color: #4caf50;
}

.status-card.pending {
    border-left-color: #ff9800;
}

.status-active,
.status-pending,
.status-inactive {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-icon {
    font-size: 32px;
}

.status-text {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-content {
    flex: 1;
    width: 100%;
}


.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 40px;
}

.stat-info h3 {
    font-size: 32px;
    margin: 0;
    color: #333;
}

.stat-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

/* Tables */
.models-table-wrapper,
.table-responsive {
    overflow-x: auto;
}

.models-table,
.analytics-table {
    width: 100%;
    border-collapse: collapse;
}

.models-table th,
.models-table td,
.analytics-table th,
.analytics-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.models-table th,
.analytics-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.models-table tbody tr:hover {
    background: #f8f9fa;
}

/* Model Elements */
.model-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-cell a {
    color: #e91e63;
    text-decoration: none;
}

.model-cell a:hover {
    text-decoration: underline;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    text-align: center;
}

.action-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.action-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.action-card h4 {
    margin: 10px 0 5px;
    color: #333;
}

.action-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* Activity */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    margin-left: auto;
    color: #999;
    font-size: 14px;
}

/* Empty States */
.empty-state,
.no-activity,
.no-photos,
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

/* Photo Management */
.file-input {
    display: none;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    background: #e9ecef;
    border-color: #e91e63;
}

.photo-preview {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
}

.preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.preview-name,
.preview-size {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.preview-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-size {
    color: #666;
    font-size: 11px;
}

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
}

.photo-wrapper {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.photo-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-actions {
    padding: 10px;
}

.primary-badge {
    background: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.photo-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

/* Schedule */
.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.day-checkbox {
    cursor: pointer;
}

.day-checkbox input {
    display: none;
}

.day-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
}

.day-checkbox input:checked + .day-box {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
}

.day-check {
    font-size: 24px;
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.day-checkbox input:checked + .day-box .day-check {
    opacity: 1;
}

.day-name {
    font-weight: 500;
}

.time-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
}

.time-presets {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.time-presets p {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-icon {
    font-size: 24px;
}

.contact-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Radio/Checkbox Options */
.radio-option,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.radio-option input,
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.primary-radio:disabled + .radio-label {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Analytics */
.date-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-filter select,
.date-filter input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

#customDateRange {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-container {
    position: relative;
    height: 300px;
}

.chart-container-small {
    position: relative;
    height: 200px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Performance Tips */
.tips-card {
    background: #f8f9fa;
}

.tips-card ul {
    list-style: none;
    padding: 0;
}

.tips-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.tips-card li:before {
    content: "??";
    position: absolute;
    left: 0;
}

.tip-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tip-item:last-child {
    border-bottom: none;
}

.tip-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.tip-item h4 {
    margin: 0 0 5px;
    color: #333;
}

.tip-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Settings */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-item p {
    margin: 0;
    color: #333;
}

.info-item a {
    color: #e91e63;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.current-logo {
    margin-bottom: 20px;
}

.current-logo img {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #f8f9fa;
}

.current-logo p {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.danger-card {
    border: 2px solid #dc3545;
    background: #fff5f5;
}

.danger-card h3 {
    color: #dc3545;
}

/* Tabs */
.stats-tabs {
    margin-bottom: 30px;
}

.tabs-header {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.tab-button:hover {
    color: #333;
}

.tab-button.active {
    color: #e91e63;
    border-bottom-color: #e91e63;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Misc Elements */
.view-profile-link {
    color: #e91e63;
    text-decoration: none;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

.conversion-rate {
    font-weight: 600;
    color: #4CAF50;
}

.order-input {
    width: 60px;
    padding: 5px;
    text-align: center;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #e91e63;
}

/* Portal Info (Login Page) */
.portal-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.portal-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.portal-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.portal-info li {
    padding: 5px 0;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.portal-info li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: #4caf50;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: #e91e63;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Add to your portal styles */
.sidebar-nav .sub-item {
    padding-left: 40px;
    font-size: 0.95em;
    position: relative;
}

.sidebar-nav .sub-item::before {
    content: "└";
    position: absolute;
    left: 20px;
    color: #999;
}

.sidebar-nav .sub-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-nav .sub-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #007bff;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 101;
    background: #e91e63;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(233,30,99,0.4);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 6px auto;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Model Performance List - Update/Add these styles */
.model-performance-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.performance-item:last-child {
    border-bottom: none;
}

.performance-item .model-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.performance-item .model-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.performance-item .model-avatar span {
    font-size: 24px;
}

.performance-item .model-info {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.performance-item .model-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.performance-item .model-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.performance-item .model-actions {
    flex-shrink: 0;
}

.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.welcome-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: wave 0.5s ease-in-out;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.welcome-banner h2 {
    font-size: 28px;
    margin: 0 0 20px;
    font-weight: 600;
}

.welcome-content {
    max-width: 600px;
    margin: 0 auto;
}

.welcome-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.welcome-checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.welcome-checklist li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 15px;
    opacity: 0.95;
}

.welcome-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 18px;
    font-weight: bold;
}

.welcome-support {
    margin-top: 20px;
    font-weight: 500;
}

.btn-dismiss {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-dismiss:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.account-status-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.account-status-box h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
}

.status-warning {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
    text-align: center;
}

@media (min-width: 768px) {
    .status-warning {
        flex-direction: row;
        text-align: left;
    }
}

.status-icon {
    font-size: 32px;
    line-height: 1;
    align-self: center;
}

.status-content h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.status-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* Status-specific colors */
.status-pending {
    border-color: #ffa726;
    background-color: #fff8e1;
}

.status-rejected {
    border-color: #ef5350;
    background-color: #ffebee;
}

.status-draft {
    border-color: #ff9800;
    background-color: #fff3e0;
}

/* Toggle container */
.status-toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.status-info {
    flex: 1;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.status-badge.live {
    background: #4caf50;
    color: white;
}

.status-badge.offline {
    background: #757575;
    color: white;
}

.status-info p {
    margin: 0;
    color: #666;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 32px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(28px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .status-toggle-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-switch-container {
        align-self: flex-end;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .welcome-banner {
        padding: 25px 20px;
    }
    
    .welcome-banner h2 {
        font-size: 24px;
    }
    
    .welcome-icon {
        font-size: 40px;
    }
    
    .welcome-content p {
        font-size: 15px;
    }
    
    .welcome-checklist li {
        font-size: 14px;
        padding-left: 25px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .performance-item {
        padding: 12px 0;
    }
    
    .performance-item .model-avatar {
        width: 50px;
        height: 50px;
    }
    
    .performance-item .model-info h4 {
        font-size: 14px;
    }
    
    .performance-item .model-info p {
        font-size: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Forms */
    .login-box {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Portal Layout */
    .portal-wrapper {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .portal-sidebar {
        transform: translateX(-100%);
    }
    
    .portal-sidebar.active {
        transform: translateX(0);
    }
    
    .portal-content {
        margin-left: 0;
        padding: 20px;
        padding-bottom: 100px;
    }
    
    .sidebar-header {
        padding: 15px;
    }
    
    .sidebar-header h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .content-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-header .btn {
        width: 100%;
    }
    
    /* Grids */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .days-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .day-box {
        padding: 15px 5px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .photo-controls {
        flex-direction: column;
    }
    
    .order-input {
        width: 100%;
    }
    
    /* Tables */
    .models-table {
        font-size: 14px;
    }
    
    .models-table th:nth-child(5),
    .models-table td:nth-child(5),
    .models-table th:nth-child(6),
    .models-table td:nth-child(6) {
        display: none;
    }
    
    .analytics-table {
        font-size: 14px;
    }
    
    .model-cell {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Buttons */
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
        text-align: center;
    }
    
    /* Date Filter */
    .date-filter {
        flex-direction: column;
        width: 100%;
    }
    
    .date-filter select {
        width: 100%;
    }
    
    #customDateRange {
        flex-direction: column;
        width: 100%;
    }
    
    #customDateRange input,
    #customDateRange button {
        width: 100%;
    }
    
    /* Tabs */
    .tabs-header {
        justify-content: space-around;
    }
    
    .tab-button {
        flex: 1;
        padding: 10px;
        font-size: 14px;
    }
    
    /* Contact */
    .contact-header label {
        font-size: 16px;
    }
    
    .contact-icon {
        font-size: 20px;
    }
}
/* Update status card colors */
.status-card.approved {
    border-left-color: #4caf50;
}

.status-card.inactive {
    border-left-color: #757575;
}

.status-card.pending {
    border-left-color: #ff9800;
}

.status-card.rejected {
    border-left-color: #f44336;
}

.status-card.draft {
    border-left-color: #ff5722;
}

/* Status note styling */
.status-note {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.status-rejected .status-text,
.status-rejected .status-note {
    color: #d32f2f;
}

.status-warning {
    margin-top: 10px;
    color: #ff6b6b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.warning-icon {
    font-size: 16px;
}
.sidebar-nav i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
    font-size: 16px;
}

.sidebar-nav .sub-item i {
    margin-left: 10px;
}