/* MetLife Online Randevu Sistemi Özel Stiller */

:root {
  --metlife-blue: #007ab3;
  --metlife-blue-hover: #00608f;
  --metlife-green: #2bb673;
  --metlife-dark: #22252a;
  --metlife-bg: #f4f5f7;
  --metlife-text: #333333;
  --metlife-border: #dcdcdc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--metlife-bg);
  color: var(--metlife-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.metlife-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metlife-logo-container img, .metlife-logo-svg {
  height: 42px;
}

.metlife-header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.metlife-header-contact svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Main Container */
.main-wrapper {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Auth / Login Page Layout */
.login-container {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
  margin-top: 20px;
}

.login-left {
  flex: 1 1 500px;
}

.login-left h1 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.3;
}

.login-left p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.login-hero-img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  max-height: 380px;
}

.login-right {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.login-right h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
}

.login-right .subtitle {
  font-size: 12px;
  color: #777;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #707070;
  border-radius: 2px;
  background-color: #fff;
  transition: border-color 0.2s;
  color: #333;
}

.form-control:focus {
  outline: none;
  border-color: var(--metlife-blue);
  box-shadow: 0 0 0 2px rgba(0, 122, 179, 0.2);
}

.btn-metlife {
  background-color: var(--metlife-blue);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.btn-metlife:hover {
  background-color: var(--metlife-blue-hover);
}

.login-help-text {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  margin-top: 20px;
}

.login-help-text a {
  color: var(--metlife-blue);
  text-decoration: underline;
}

/* Page Header Title & Subnav */
.page-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.subnav-links {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 30px;
}

.subnav-links a {
  color: var(--metlife-blue);
  text-decoration: none;
  font-weight: 500;
  margin: 0 6px;
}

.subnav-links a:hover {
  text-decoration: underline;
}

/* Appointment Form Card */
.appointment-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  max-width: 650px;
  margin: 0 auto 40px auto;
  padding: 35px 40px;
}

.package-header {
  margin-bottom: 20px;
}

.package-title-label {
  font-weight: 700;
  color: var(--metlife-green);
  font-size: 14px;
}

.package-title-val {
  font-weight: 700;
  color: var(--metlife-green);
  font-size: 14px;
}

.package-detail-link {
  color: var(--metlife-blue);
  text-decoration: underline;
  font-size: 13px;
  margin-left: 6px;
  cursor: pointer;
}

.form-divider {
  height: 1px;
  background-color: #eee;
  margin: 20px 0;
}

.fieldset-custom {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 20px;
  background: #fff;
}

.fieldset-custom legend {
  font-size: 11px;
  color: #666;
  padding: 0 6px;
  font-weight: 500;
}

.fieldset-custom select, .fieldset-custom input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
  background: transparent;
  padding: 4px 0;
}

/* Previous Requests Table Page */
.history-table-container {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-top: 20px;
}

.table-metlife {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table-metlife th {
  background-color: var(--metlife-dark);
  color: #ffffff;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
}

.table-metlife td {
  padding: 14px 18px;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
  color: #444;
}

.table-metlife tr:last-child td {
  border-bottom: none;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.badge-pending {
  background-color: #fff3cd;
  color: #856404;
}

.badge-approved {
  background-color: #d4edda;
  color: #155724;
}

.badge-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

.badge-completed {
  background-color: #cce5ff;
  color: #004085;
}

/* Footer */
.metlife-footer {
  background-color: #f9fafb;
  border-top: 1px solid #e0e0e0;
  padding: 25px 40px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand .phone {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.footer-links {
  font-size: 13px;
  color: var(--metlife-blue);
}

.footer-links a {
  color: var(--metlife-blue);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 13px;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}
