/* Import OmniStar Brand Fonts - Local Files */
@font-face {
  font-family: 'BiennaleMedium';
  src: url('./fonts/BiennaleMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BiennaleSemiBold';
  src: url('./fonts/BiennaleSemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Import OmniStar CSS Resources - Local Files */
@import url('./css/bootstrap.css');
@import url('./css/fontawesome.min.css');

html,
body {
  height: 100%;
  font-family: 'BiennaleMedium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #0a1628;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, #0a1628 0%, #1e3a8a 30%, #3730a3 60%, #6366f1 100%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(147, 51, 234, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Geometric wave patterns */
body::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='waveGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23ffffff;stop-opacity:0.05'/%3E%3Cstop offset='100%25' style='stop-color:%23ffffff;stop-opacity:0.02'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23waveGrad)' stroke-width='1' fill='none'%3E%3Cpath d='M0,100 Q200,50 400,100 T800,100' opacity='0.3'/%3E%3Cpath d='M0,150 Q200,100 400,150 T800,150' opacity='0.25'/%3E%3Cpath d='M0,200 Q200,150 400,200 T800,200' opacity='0.2'/%3E%3Cpath d='M0,250 Q200,200 400,250 T800,250' opacity='0.15'/%3E%3Cpath d='M0,300 Q200,250 400,300 T800,300' opacity='0.1'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

/* Floating geometric elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.floating-element-1 {
  top: 10%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, rgba(99, 102, 241, 0.15), rgba(147, 51, 234, 0.1));
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
  top: 60%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.1));
  border-radius: 20px;
  animation: float 8s ease-in-out infinite reverse;
}

.floating-element-3 {
  top: 30%;
  right: 25%;
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.15), rgba(99, 102, 241, 0.1));
  border-radius: 30px;
  animation: float 7s ease-in-out infinite;
}

.floating-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 800'%3E%3Cdefs%3E%3ClinearGradient id='lineGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%236366f1;stop-opacity:0.1'/%3E%3Cstop offset='100%25' style='stop-color:%239333ea;stop-opacity:0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23lineGrad)' stroke-width='2' fill='none'%3E%3Cpath d='M100,100 L200,150 L300,120 L400,180 L500,140' opacity='0.3'/%3E%3Cpath d='M150,200 L250,250 L350,220 L450,280 L550,240' opacity='0.25'/%3E%3Cpath d='M200,300 L300,350 L400,320 L500,380 L600,340' opacity='0.2'/%3E%3Cpath d='M250,400 L350,450 L450,420 L550,480 L650,440' opacity='0.15'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.form-signin {
  width: 100%;
  max-width: 420px;
  padding: 40px 30px;
  margin: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #1e293b;
  position: relative;
  z-index: 2;
}

.form-signin img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.form-signin h1 {
  font-family: 'BiennaleSemiBold', sans-serif;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 15px 20px;
  font-size: 16px;
  font-family: 'BiennaleMedium', sans-serif;
  margin-bottom: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-signin .form-control:focus {
  z-index: 2;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
  outline: none;
}

.form-signin .btn-primary {
  font-family: 'BiennaleSemiBold', sans-serif;
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #6366f1 100%);
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.form-signin .btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #4f46e5 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.4);
}

.form-signin .btn-primary:active {
  transform: translateY(0);
}

.form-signin .text-muted {
  color: #666 !important;
  font-size: 14px;
}

/* Remove specific input styling that doesn't apply to our form */
.form-signin input[type="email"] {
  margin-bottom: 15px;
  border-radius: 8px;
}

.form-signin input[type="text"],
.form-signin input[type="tel"] {
  margin-bottom: 15px;
  border-radius: 8px;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
  
  .form-signin {
    padding: 50px 40px;
  }
}

@media (max-width: 576px) {
  .form-signin {
    margin: 20px;
    padding: 30px 25px;
    max-width: none;
  }
}

/* OmniStar Brand Enhancements */
.form-signin .form-control::placeholder {
  font-family: 'BiennaleMedium', sans-serif;
  color: #999;
  font-weight: 400;
}

/* Enhanced focus states with OmniStar brand colors - merged with existing rule */

/* OmniStar-style button animations - merged with existing button styles */

.form-signin .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.form-signin .btn-primary:hover::before {
  left: 100%;
}

/* Brand-consistent text styling */
.form-signin .text-muted {
  font-family: 'BiennaleMedium', sans-serif;
  color: #666 !important;
  font-size: 14px;
}

/* Logo styling enhancements */
.form-signin img {
  filter: drop-shadow(0 4px 12px rgba(26, 35, 126, 0.15));
  transition: transform 0.3s ease;
}

.form-signin img:hover {
  transform: scale(1.02);
}

/* Additional OmniStar brand elements */
.form-signin::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3949ab, #5c6bc0, #7986cb, #3949ab);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-signin:hover::before {
  opacity: 0.1;
}
