/* ========================================================================================
       BRAND ARCHITECTURAL INTEGRATION THEME (MODERN ROUNDED & LUXURY GRADIENT)
======================================================================================== */
:root {
  --cemtech-black: #000000;
  --cemtech-dark-gray: #161616;
  --cemtech-surface: #0a0a0a;
  --cemtech-text-main: #ffffff;
  --cemtech-text-muted: #999999;
  --whatsapp-brand-color: #25d366;
}

body {
  font-family: "Century Gothic", AppleGothic, sans-serif !important;
  background-color: var(--cemtech-black);
  color: var(--cemtech-text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Modern Rounded Framework & Lined Outline Window */
.main-form-card {
  max-width: 1020px;
  width: 100%;
  border-radius: 24px !important; 
  background-color: var(--cemtech-surface);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Left Aesthetic Presentation Panel - Modern Black/Gray Angled Gradient */
.bg-brand-panel {
  background: linear-gradient(145deg, #020202 0%, #1c1c1c 60%, #0d0d0d 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tracking-wide {
  letter-spacing: 3px;
}

.tracking-luxury {
  letter-spacing: 2px;
}

/* ========================================================================================
       BRAND BRANDING LOGO INTEGRATION (WITH PULSING EMBLEM RING)
======================================================================================== */
.cemtech-logo-container {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cemtech-logo-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: ambientPulse 4s ease-in-out infinite;
}

.cemtech-brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  z-index: 2;
}

@keyframes ambientPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.06); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* ========================================================================================
       MODERN REALTIME CLOCK & DATE CONTAINER WIDGET
======================================================================================== */
.modern-clock-widget {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 14px; 
  margin-top: 25px;
  position: relative;
}

.clock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.clock-label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--cemtech-text-main);
  text-transform: uppercase;
  font-weight: bold;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--whatsapp-brand-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp-brand-color);
  animation: clockPulse 2s infinite;
}

#liveTimeDisplay {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.2;
}

#liveTimeDisplay span.seconds-digits {
  font-size: 1.1rem;
  color: var(--cemtech-text-muted);
  margin-left: 2px;
}

#liveTimeDisplay span.ampm-marker {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #ffffff;
  margin-left: 5px;
  font-weight: bold;
}

#liveDateDisplay {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--cemtech-text-muted);
  text-transform: uppercase;
  margin-top: 5px;
}

@keyframes clockPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Input Elements styling */
.form-floating {
  margin-bottom: 12px;
}

.form-floating > .form-control {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 12px; 
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1) !important;
}

.form-floating > label {
  color: var(--cemtech-text-muted) !important;
}

/* WhatsApp UI Setup */
.bg-whatsapp-label {
  background-color: var(--whatsapp-brand-color) !important;
  color: #ffffff !important; 
  border: 1px solid var(--whatsapp-brand-color) !important;
  border-right: none !important;
  border-radius: 12px 0 0 12px !important;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.input-group > .form-floating > .form-control {
  border-radius: 0 12px 12px 0 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.5;
  cursor: pointer;
}

/* Interactive Interface Buttons */
.btn-cemtech-action {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.btn-cemtech-action:hover {
  background-color: #ffffff;
  color: #000000;
}

.back-home-link {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-weight: normal;
  letter-spacing: 1px;
  color: var(--cemtech-text-muted) !important;
}

.back-home-link:hover {
  color: #ffffff !important;
  transform: translateX(-4px);
}

.xsmall-text {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--cemtech-text-muted);
}

/* Layout Animation Switching Transitions */
.fade-out-content {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ========================================================================================
       DYNAMIC INTEGRATED CORPORATE SUNBURST LOADER (NO 0-100% HOOKS)
======================================================================================== */
.preloader-branding-core {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sunburst-loader {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: center center;
  animation: sunburstRotate 4.5s linear infinite;
}

.sunburst-ray {
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

.preloader-logo-box {
  position: relative;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.preloader-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

@keyframes sunburstRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-display {
  padding: 40px 10px;
  text-align: center;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}


/*-----------whatsapp validate-----------------*/

/* Custom correction rule for select dropdown styling context */
.form-floating > .form-select {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
}
select.form-select option {
  background-color: #0a0a0a !important; /* Forces dropdown options to match dark luxury background theme */
  color: #ffffff;
}