/* Camera Screen */
#screen-camera {
  background: #000;
  padding-bottom: 0;
}
.camera-view {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 24px 40px;
}
.camera-top {
  display: flex;
  justify-content: space-between;
  color: white;
}
.focus-frame {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.brackets {
  width: 250px;
  height: 250px;
  border: 2px solid transparent;
  position: relative;
}
.brackets::before, .brackets::after,
.brackets > div::before, .brackets > div::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: white;
  border-style: solid;
}
.brackets::before { top: 0; left: 0; border-width: 4px 0 0 4px; border-top-left-radius: 12px; }
.brackets::after { top: 0; right: 0; border-width: 4px 4px 0 0; border-top-right-radius: 12px; }
.brackets > div::before { bottom: 0; left: 0; border-width: 0 0 4px 4px; border-bottom-left-radius: 12px; }
.brackets > div::after { bottom: 0; right: 0; border-width: 0 4px 4px 0; border-bottom-right-radius: 12px; }

.camera-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mode-toggle {
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex;
  padding: 4px;
  backdrop-filter: blur(10px);
}
.mode-btn {
  padding: 8px 16px;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: white;
  font-weight: 500;
  cursor: pointer;
}
.mode-btn.active {
  background: var(--accent-orange);
}
.shutter-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid white;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.shutter-inner {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  transition: transform 0.1s;
}
.shutter-btn:active .shutter-inner {
  transform: scale(0.9);
}

/* Result Screen */
.tabs {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 24px;
}
.tab {
  padding: 12px 0;
  color: var(--text-gray);
  font-weight: 600;
  position: relative;
  cursor: pointer;
}
.tab.active {
  color: var(--text-dark);
}
.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-green);
  border-radius: 3px 3px 0 0;
}
.tab-badge {
  background: #ffebe6;
  color: var(--accent-orange);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
  border: 1px solid var(--accent-orange);
}

.diagnosis-card {
  background: white;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.diagnosis-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.diagnosis-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.diagnosis-title {
  color: #d32f2f;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.diagnosis-subtitle {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.diagnosis-text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}
.diagnosis-text h4 {
  margin: 12px 0 4px;
  font-size: 14px;
}

