/* PACKAGE 2: Nature Healing Theme - Organic Wellness Design */
:root {
    --primary: #22c55e;
    --primary-light: #4ade80;
    --primary-dark: #16a34a;
    --secondary: #10b981;
    --accent: #84cc16;
    --nature-brown: #a3a3a3;
    --nature-sage: #6b7280;
    --bg: linear-gradient(135deg, #f0fdf4, #ecfdf5, #f7fee7);
    --bg-secondary: rgba(34, 197, 94, 0.08);
    --bg-card: rgba(255, 255, 255, 0.95);
    --text: #1f2937;
    --text-light: #374151;
    --text-muted: #6b7280;
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --border: rgba(34, 197, 94, 0.2);
    --shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.1), 0 4px 6px -2px rgba(34, 197, 94, 0.05);
    --nature-glow: 0 0 20px rgba(34, 197, 94, 0.2);
}

body {
    background: var(--bg);
    font-family: 'Lora', 'Georgia', serif;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.da-appointment-wrap, .da-reports-wrap {
    max-width: 850px;
    margin: 30px auto;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}

.da-reports-wrap{
    background-color: #00ff7b1a;
}

.da-appointment-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    border-radius: 20px 20px 0 0;
}

.da-appointment-wrap::after {
    content: '🌿';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    opacity: 0.6;
    animation: sway 4s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.da-form h2 {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 30px;
    font-size: 32px;
    text-align: center;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.da-form h2::before {
    content: '🌱 ';
    color: var(--accent);
}

.da-form h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.da-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 16px;
    position: relative;
    padding-left: 24px;
}

.da-form label::before {
    content: '🍃';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    opacity: 0.7;
}

.da-row {
    margin-bottom: 25px;
}

.da-row.small {
    display: flex;
    gap: 20px;
}

.da-row.small .col {
    flex: 1;
}

.da-row input[type="text"], 
.da-row input[type="date"], 
.da-row input[type="email"], 
.da-row select, 
.da-row textarea, 
.da-row input[type="file"] {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    color: var(--text);
    font-family: inherit;
}

.da-row input:focus, 
.da-row select:focus, 
.da-row textarea:focus {
    outline: none;
    box-shadow: var(--nature-glow);
    transform: translateY(-2px);
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, var(--accent), var(--secondary)) border-box;
}

.da-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--nature-glow);
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
}

.da-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.da-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(34, 197, 94, 0.4);
}

.da-btn:hover::before {
    left: 100%;
}

.da-result {
    margin-top: 25px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--success);
    position: relative;
    backdrop-filter: blur(5px);
}

.da-result::before {
    content: '🌟 Success';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--success);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.da-time-display {
    padding: 10px 20px;
    border: 2px dashed var(--border);
    border-radius: 15px;
    background: var(--bg-secondary);
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}
.da-time-display2 {
    padding: 10px 20px;
    border: 2px dashed var(--border);
    border-radius: 15px;
    background: var(--bg-secondary);
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.da-time-display::before {
    content: '🕐 রোগী দেখার সময়-Available Hours: ';
    color: black;
    font-weight: 600;
}

.da-days-display {
    margin-top: 15px;
    padding: 12px 18px;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    border: 2px solid var(--border);
}

.da-days-display::before {
    content: '📅 ';
}

.da-toggle {
    margin-bottom: 25px;
    text-align: center;
}

.da-toggle-btn {
    padding: 12px 24px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 15px;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.da-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(34, 197, 94, 0.2);
    color: var(--primary);
}

.da-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    box-shadow: var(--nature-glow);
}

.da-suggestions {
    border: 2px solid var(--border);
    padding: 12px;
    max-height: 220px;
    overflow: auto;
    border-radius: 15px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.da-suggestion-item {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 6px;
    position: relative;
}

.da-suggestion-item:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateX(8px);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
}

.da-suggestion-item:hover::before {
    content: '🌿';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .da-row.small {
        flex-direction: column;
    }
    
    .da-appointment-wrap, .da-reports-wrap {
        margin: 16px;
        padding: 30px;
    }
}

/* Admin Panel Styling */
.da-admin-panel {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 25px 0;
    overflow: hidden;
}

.da-admin-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 20px 28px;
    font-weight: 600;
    font-size: 18px;
}

.da-admin-header::before {
    content: '🌱 ';
}

.da-admin-content {
    padding: 28px;
}

.da-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
}

.da-table th,
.da-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.da-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text);
}

.da-table tr:hover {
    background: var(--bg-secondary);
}

.da-btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    margin: 0 3px;
    border-radius: 8px;
}

.da-btn-danger {
    background: linear-gradient(135deg, var(--error), #ef4444);
}

.da-btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, var(--error));
}

.da-status-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.da-status-pending {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(245, 158, 11, 0.2));
    color: #92400e;
}

.da-status-confirmed {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(16, 185, 129, 0.2));
    color: #064e3b;
}

.da-status-cancelled {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(239, 68, 68, 0.2));
    color: #7f1d1d;
}

/* Natural loading animation */
@keyframes grow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.da-loading-nature {
    animation: grow 2s ease-in-out infinite;
}

/* Scrollbar styling */
.da-suggestions::-webkit-scrollbar {
    width: 6px;
}

.da-suggestions::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.da-suggestions::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.da-suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.from-name-f1 h3{
    align-items: center;
    text-align: center;
}

.error {
    border: 2px solid #b00020 !important;
    background: #ffe6e6;
}


#da-modal-root {
  display:flex;
  align-items:center;
  justify-content:center;
}
#da-modal-root[style*="display: none"] {
  display:none !important;
}



/* multiple image input css */


/*admin panel css*/

/* Pack 1: Modern Minimal - Clean, spacious design with subtle shadows */

/* Global Styles */
.wrap {
    background: #fafafa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    margin: 20px 0;
}

.wrap h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
}

/* Filter and Search Section */
.da-filter-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.08);
}

.da-filter-section label {
    font-weight: 500;
    color: #34495e;
    margin-right: 15px;
}

.button.da-filter-clinic {
    background: #ecf0f1;
    border: 1px solid #bdc3c7;
    color: #2c3e50;
    padding: 8px 16px;
    margin: 0 5px 5px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.button.da-filter-clinic:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

#da-admin-search-q, #da-report-search-q {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 6px;
    width: 250px;
    margin-right: 10px;
}

#da-admin-search-btn, #da-report-search-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#da-admin-search-btn:hover, #da-report-search-btn:hover {
    background: #2980b9;
}

/* Date Groups */
.da-date-group {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.da-date-toggle {
    background: linear-gradient(135deg, #3498db, #2674c2);
    color: white;
    margin: 0;
    padding: 18px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.da-date-toggle:hover {
    background: #12a445;
}

.da-date-list {
    padding: 0;
    border: none;
    background: #f8f9fa;
}

/* Download Buttons */
.da-download-excel, .da-download-pdf {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin: 10px 5px;
    transition: background 0.3s ease;
}

.da-download-excel:hover {
    background: #229954;
}

.da-download-pdf {
    background: #e74c3c;
}

.da-download-pdf:hover {
    background: #c0392b;
}

/* Tables */
.widefat {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.widefat th {
    background: #508ecb;
    color: white;
    padding: 15px 12px;
    font-weight: 500;
    text-align: left;
}

.widefat td {
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
}

.widefat tr:hover {
    background: #f1f2f6;
}

/* Status Styles */
.da-status-appointed {
    background-color: #d5f4e6 !important;
}

.da-status-absent {
    background-color: #fce4ec !important;
}

/* Action Buttons */
.da-mark-appointed, .da-mark-absent, .da-delete-appointment-js {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    margin: 0 2px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.da-mark-appointed {
    background: #27ae60;
    color: white;
}

.da-mark-absent {
    background: #f39c12;
    color: white;
}

.da-delete-appointment-js, .da-delete-report-js {
    background: #e74c3c;
    color: white;
}

/* Reports Section */
.da-report-item {
    padding: 20px;
    border: none;
    border-bottom: 1px solid #ecf0f1;
    background: white;
}

.da-report-item:last-child {
    border-bottom: none;
}

.da-report-item strong {
    color: #2c3e50;
    font-size: 16px;
}

.da-attachments {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.da-attachments img {
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.da-attachments img:hover {
    transform: scale(1.05);
}

.pdf-item {
    background: #e74c3c;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.pdf-item:hover {
    background: #c0392b;
    color: white;
}

/* Loading States */
#da-appointments-wrapper, #da-reports-wrapper {
    min-height: 200px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .wrap {
        padding: 15px;
    }
    
    #da-admin-search-q, #da-report-search-q {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .da-date-toggle {
        padding: 15px;
        font-size: 14px;
    }
    
    .widefat {
        font-size: 12px;
    }
    
    .da-attachments {
        display: block;
    }
    
    .da-attachments img {
        width: 60px;
        height: 60px;
        margin: 5px;
    }
}


/*settings panel css*/

/* Modern Blue Theme */
.wrap_settings {
    background: linear-gradient(135deg, #78b2ff  0%, #d1a3ff  100%);
    min-height: 100vh;
    padding: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.wrap_settings h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.wrap_settings h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.form-table {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.form-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 15px;
    border-radius: 8px 0 0 8px;
    border: none;
}

.form-table td {
    padding: 15px;
    border: none;
}

.form-table input.regular-text {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-table input.regular-text:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.da-clinic-block {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none !important;
    position: relative;
    transition: transform 0.3s ease;
}

.da-clinic-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.da-clinic-block label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.da-clinic-block input, .da-clinic-block textarea {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
}

.da-clinic-block input:focus, .da-clinic-block textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.button {
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.button-secondary {
    background: #6c757d;
    color: white;
}

.button-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.button-link-delete {
    background: #dc3545;
    color: white;
}

.button-link-delete:hover {
    background: #c82333;
}

.updated {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    font-weight: 600;
}




/*filter css*/
.da-filter-clinic.da-filter-active {
  background-color: #1e73be;
  color: #fff;
  border-color: #165a93;
}
