/* Awadalla Medical Reports Styles */


.report-output {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}


.report-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
}


.result-normal {
  color: #2e7d32;
  font-weight: 500;
}

.result-abnormal {
  color: #c62828;
  font-weight: 500;
}


.report-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 15px;
}


.report-output {
  font-family: Arial, Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}


.conclusion-box {
  background: #f5f7fa;
  border-left: 4px solid #1976d2;
  padding: 12px;
  font-weight: 600;
}


/* توسيط عناوين الهيدر */
.header-left {
  text-align: center;
  width: 100%;
}

/* تحسين شكل العناوين */
.header-left h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.header-left h4 {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
}
@media print {
  .header-left h3 {
    font-size: 22px;
  }
}


.editable {
  cursor: text;
}

.editable:focus {
  outline: 1px dashed #999;
  background: #fffef5;
}


/* كسر أي تنسيق قادم من القالب */
.organs,
.organs * {
    all: unset;
}

 /* Blue clear radio buttons */
input[type="radio"] {
    accent-color: #1e88e5; /* أزرق طبي */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.popup-box h3 {
    margin-bottom: 15px;
    color: #0b5394;
}

.popup-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.popup-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.popup-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#save-patient {
    background: #0b5394;
    color: #fff;
}

#cancel-popup {
    background: #ccc;
}



#my_reports_btn {
    display: none; /* مخفي عن الجميع افتراضياً */
}

/* تنسيق الزر ليظهر بشكل جميل عند تفعيله */
.show-report-btn {
    display: inline-flex !important;
    padding: 12px 24px;
    background: #1e3c72;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}
