/* Modern Patient Information Component Styles - Clean White Theme */

.patient-info-modern {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
  padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

/* Patient Header */
.patient-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
/*    border-bottom: 1px solid #e5e7eb;*/
    margin-bottom: 16px;
}

.patient-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
 align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.patient-avatar i {
    font-size: 28px;
    color: #ffffff;
}

.patient-basic-info {
 flex: 1;
    min-width: 0;
}

.patient-name {
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;

    font-size: 14px;
    font-weight: 600;
    color: #74788D;
}

.patient-mrn {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.patient-meta-tags {
    display: flex;
gap: 8px;
    flex-shrink: 0;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.customer-tag {
 background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.customer-tag i {
    font-size: 11px;
}

/* Patient Details Grid */
.patient-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

@media (max-width: 1200px) {
    .patient-details-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .patient-details-grid {
        grid-template-columns: 1fr;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
 font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.detail-value-wrapper {
    position: relative;
}

.detail-value {
 width: 100%;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
 background-color: #f9fafb;
  transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.detail-value:focus {
    outline: none;
    border-color: #9ca3af;
    background-color: #ffffff;
}

.detail-value:read-only {
    cursor: default;
}

.detail-value::placeholder {
    color: #9ca3af;
}

/* Patient Bottom Info */
.patient-bottom-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .patient-bottom-info {
    flex-direction: column;
        gap: 10px;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.info-icon {
    font-size: 14px;
    color: #6b7280;
 flex-shrink: 0;
}

.info-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Section Title - Hidden by default, can be shown with .show-title class */
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #556EE6;
    margin-bottom: 7px;
}

.section-title.show-title {
display: flex; /* Show only if .show-title class is added */
}

.section-title .section-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
 width: 22px;
    height: 22px;
    background: #667eea;
    color: #ffffff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

/* Form Section Wrapper */
.form-section {
    margin-bottom: 24px;
}

.form-section.patient-info-section {
    margin-bottom: 28px;
}

/* Dark Theme Variant (optional, add .dark-theme class to .patient-info-modern) */
.patient-info-modern.dark-theme {
    background: #2c3e50;
    border-color: #34495e;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ecf0f1;
}

.patient-info-modern.dark-theme .patient-header {
    border-bottom-color: #34495e;
}

.patient-info-modern.dark-theme .patient-name {
    color: #ffffff;
}

.patient-info-modern.dark-theme .patient-mrn {
    color: #b0bec5;
}

.patient-info-modern.dark-theme .customer-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.patient-info-modern.dark-theme .detail-label {
    color: #95a5a6;
}

.patient-info-modern.dark-theme .detail-value {
    background-color: rgba(52, 73, 94, 0.5);
    border-color: #34495e;
    color: #ecf0f1;
}

.patient-info-modern.dark-theme .detail-value:focus {
    background-color: rgba(52, 73, 94, 0.7);
    border-color: #5c7cfa;
}

.patient-info-modern.dark-theme .patient-bottom-info {
    border-top-color: #34495e;
}

.patient-info-modern.dark-theme .info-icon {
    color: #95a5a6;
}

.patient-info-modern.dark-theme .info-text {
    color: #b0bec5;
}
