/* Rnova Official Brand Stylesheet - MAKING SMART SOLUTIONS */
:root {
  --rnova-blue: #0047BA;
  --rnova-blue-dark: #003388;
  --rnova-blue-light: #e6edfa;
  --rnova-green: #8CC63F;
  --rnova-green-dark: #70a32d;
  --rnova-green-light: #f1f8e9;
  --rnova-dark-sidebar: #0b1728;
  --rnova-sidebar-hover: #16273e;
  --rnova-border: #e2e8f0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Sidebar Layout */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: var(--rnova-dark-sidebar);
  color: #ffffff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.2);
}

.sidebar-logo {
  max-height: 42px;
  width: auto;
}

.sidebar-nav {
  padding: 1rem 0;
  flex: 1;
}

.nav-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  padding: 0.75rem 1.5rem 0.25rem;
  font-weight: 700;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
}

.sidebar-link i {
  width: 24px;
  font-size: 1.1rem;
  margin-right: 10px;
}

.sidebar-link:hover {
  background-color: var(--rnova-sidebar-hover);
  color: #ffffff;
}

.sidebar-link.active {
  background-color: var(--rnova-sidebar-hover);
  color: #ffffff;
  border-left-color: var(--rnova-green);
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-navbar {
  height: 64px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--rnova-border);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.page-content {
  padding: 1.75rem;
  flex: 1;
}

/* Rnova Buttons & Badges */
.btn-rnova {
  background-color: var(--rnova-blue);
  color: #ffffff;
  font-weight: 600;
  border: none;
}
.btn-rnova:hover {
  background-color: var(--rnova-blue-dark);
  color: #ffffff;
}

.card-rnova {
  border: 1px solid var(--rnova-border);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  background: #ffffff;
  margin-bottom: 1.5rem;
}

/* Avatars & Company Logos */
.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  background-color: var(--rnova-blue);
  color: #ffffff;
  flex-shrink: 0;
}

.avatar-circle-lg {
  width: 54px;
  height: 54px;
  font-size: 1.3rem;
}

/* Developer Photo Preview Container & Avatar Utilities */
.developer-photo-preview {
  width: 400px;
  height: 400px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--rnova-border);
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.developer-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.developer-photo-initials {
  font-size: 5rem;
  font-weight: 700;
  color: var(--rnova-blue);
  background-color: #eef2ff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.avatar-sm { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.avatar-md { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.avatar-lg { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.avatar-xl { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.avatar-form { width: 400px; height: 400px; max-width: 100%; object-fit: cover; border-radius: 50%; }

@media (max-width: 768px) {
  .developer-photo-preview {
    width: 280px;
    height: 280px;
  }
}

.avatar-initials {
  background-color: var(--rnova-blue);
  color: #ffffff;
}

.company-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #0f1c2e;
  padding: 4px;
  border: 1px solid #2a3d58;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--rnova-green);
}

/* ================================================================
   TECHNOLOGICAL CORPORATE LOGIN STYLES
   ================================================================ */
.tech-login-body {
  background: radial-gradient(circle at 50% 20%, #061830 0%, #030a16 60%, #01040a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  font-family: 'Segoe UI', -apple-system, Roboto, sans-serif;
  margin: 0;
  padding: 1.5rem;
}

.tech-login-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle, rgba(0, 71, 186, 0.18) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(0, 71, 186, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 71, 186, 0.05) 1px, transparent 1px);
  background-size: 36px 36px, 36px 36px, 36px 36px;
  pointer-events: none;
  z-index: 1;
}

.tech-glow-1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 71, 186, 0.25) 0%, rgba(140, 198, 63, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
}

.login-card-modern {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 60px rgba(0, 71, 186, 0.3), 0 10px 20px rgba(0, 0, 0, 0.4);
  padding: 2.75rem 2.5rem;
  width: 100%;
  max-width: 460px;
  transition: transform 0.3s ease;
}

@media (max-width: 576px) {
  .login-card-modern {
    padding: 2rem 1.5rem;
    max-width: 94%;
  }
}

.login-logo-img {
  max-width: 100%;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 71, 186, 0.1));
}

.login-tagline {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0047BA;
  margin-top: 0.5rem;
}

.login-input-group {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  transition: all 0.2s ease;
}

.login-input-group:focus-within {
  border-color: #0047BA;
  box-shadow: 0 0 0 4px rgba(0, 71, 186, 0.15);
}

.login-input-group .input-group-text {
  background-color: #f8fafc;
  border: none;
  color: #64748b;
  font-size: 1.1rem;
  padding-left: 1.1rem;
  padding-right: 0.8rem;
}

.login-input-group .form-control {
  border: none;
  height: 50px;
  font-size: 0.95rem;
  box-shadow: none !important;
}

.login-input-group .form-control:focus {
  background-color: #ffffff;
}

.btn-login-submit {
  height: 52px;
  background-color: #0047BA;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 71, 186, 0.35);
  transition: all 0.25s ease;
}

.btn-login-submit:hover {
  background-color: #003388;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 71, 186, 0.45);
}

.btn-toggle-password {
  border: none;
  background: #f8fafc;
  color: #64748b;
  padding-right: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-toggle-password:hover {
  color: #0047BA;
}

/* Prospect Registration Modern Card Styles */
.register-card-modern {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 60px rgba(0, 71, 186, 0.3), 0 10px 20px rgba(0, 0, 0, 0.4);
  padding: 2.75rem 2.5rem;
  width: 100%;
  max-width: 580px;
  transition: transform 0.3s ease;
}

@media (max-width: 576px) {
  .register-card-modern {
    padding: 1.75rem 1.25rem;
    max-width: 94%;
  }
}

.register-logo-img {
  max-width: 210px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 71, 186, 0.12));
}

.register-section-divider {
  border-top: 1px solid #e2e8f0;
  margin: 1.75rem 0 1.25rem 0;
  position: relative;
}

.register-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0047BA;
  background-color: #f0f4fc;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.password-strength-container {
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.login-input-group select.form-select {
  border: none;
  height: 50px;
  font-size: 0.92rem;
  box-shadow: none !important;
  background-color: transparent;
  color: #1e293b;
}

.login-input-group select.form-select:focus {
  background-color: #ffffff;
}

/* Google reCAPTCHA v2 Responsive Centered Wrapper */
.recaptcha-responsive-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 380px) {
  .recaptcha-responsive-wrapper .g-recaptcha {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

/* TV MONITOR OPERATIONAL DASHBOARD STYLES */
.tv-monitor-body {
  background-color: #040911;
  color: #ffffff;
  font-family: 'Segoe UI', -apple-system, Roboto, sans-serif;
  min-height: 100vh;
  padding: 1.25rem 2rem;
}

.tv-monitor-body .text-muted {
  color: #8899ac !important;
}

.tv-header {
  margin-bottom: 1.25rem;
}

.tv-header-logo {
  height: 40px;
  width: auto;
}

.tv-header-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.tv-header-subtitle {
  font-size: 0.78rem;
  color: #8899ac;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.tv-live-clock {
  font-size: 1.15rem;
  font-weight: 800;
  color: #8CC63F;
}

.tv-badge-live {
  background-color: #0c2b18;
  color: #28c76f;
  border: 1px solid #145932;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tv-badge-refresh {
  background-color: #0d47a1;
  color: #64b5f6;
  border: 1px solid #1565c0;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tv-kpi-card {
  background: #091322;
  border: 1px solid #15253b;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.tv-kpi-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tv-kpi-icon-box.new { background-color: rgba(13, 110, 253, 0.2); color: #3d8bfd; }
.tv-kpi-icon-box.progress { background-color: rgba(13, 202, 240, 0.2); color: #0dcaf0; }
.tv-kpi-icon-box.waiting { background-color: rgba(255, 193, 7, 0.2); color: #ffc107; }
.tv-kpi-icon-box.overdue { background-color: rgba(220, 53, 69, 0.25); color: #ea5455; }
.tv-kpi-icon-box.resolved { background-color: rgba(25, 135, 84, 0.2); color: #28c76f; }

.tv-kpi-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.tv-kpi-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tv-kpi-sublabel {
  font-size: 0.72rem;
  color: #8899ac;
}

.tv-op-bar {
  background: #08101d;
  border: 1px solid #132238;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.tv-row-card {
  background: #081220;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid #14243b;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tv-row-card.status-overdue {
  border: 1px solid #e63946;
  background: #14090e;
}
.tv-row-card.status-critical {
  border: 1px solid #ff9f43;
  background: #150f09;
}
.tv-row-card.status-ontime {
  border: 1px solid #28c76f;
  background: #09150e;
}
.tv-row-card.status-answered {
  border: 1px solid #00cfe8;
  background: #081422;
}

.tv-logo-box {
  width: 68px;
  height: 68px;
  background: #040911;
  border: 1px solid #162840;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.tv-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tv-code-pill {
  background: #16273e;
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.tv-dev-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0d6efd;
  flex-shrink: 0;
}

.tv-dev-avatar.border-overdue { border-color: #ff3860; }
.tv-dev-avatar.border-critical { border-color: #ff9f43; }
.tv-dev-avatar.border-ontime { border-color: #28c76f; }
.tv-dev-avatar.border-answered { border-color: #00cfe8; }

.tv-status-pill {
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.tv-status-pill.pill-overdue { background-color: rgba(220, 53, 69, 0.25); color: #ff3860; border: 1px solid #ff3860; }
.tv-status-pill.pill-critical { background-color: rgba(255, 159, 67, 0.25); color: #ff9f43; border: 1px solid #ff9f43; }
.tv-status-pill.pill-ontime { background-color: rgba(40, 199, 111, 0.2); color: #28c76f; border: 1px solid #28c76f; }
.tv-status-pill.pill-answered { background-color: rgba(0, 207, 232, 0.2); color: #00cfe8; border: 1px solid #00cfe8; }

.tv-gauge-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tv-gauge-circle.overdue { background-color: rgba(220, 53, 69, 0.15); color: #ff3860; border: 2px solid #ff3860; }
.tv-gauge-circle.critical { background-color: rgba(255, 159, 67, 0.15); color: #ff9f43; border: 2px solid #ff9f43; }
.tv-gauge-circle.ontime { background-color: rgba(40, 199, 111, 0.15); color: #28c76f; border: 2px solid #28c76f; }
.tv-gauge-circle.answered { background-color: rgba(0, 207, 232, 0.15); color: #00cfe8; border: 2px solid #00cfe8; }

.tv-sla-pill-top {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.tv-sla-pill-top.overdue { background-color: rgba(220, 53, 69, 0.25); color: #ff3860; }
.tv-sla-pill-top.critical { background-color: rgba(255, 159, 67, 0.25); color: #ff9f43; }
.tv-sla-pill-top.ontime { background-color: rgba(40, 199, 111, 0.2); color: #28c76f; }
.tv-sla-pill-top.answered { background-color: rgba(0, 207, 232, 0.2); color: #00cfe8; }
