﻿:root {
  --gold: #bc9552;
  --blue: #378ac0;
  --gray: #c5c3c6;

  --red: #ec1a23;
  --dark-blue: #308ac5;
  --green: #0b6235;
  --light: #f8f9f9;
  --dark-gold: #b08f55;
}

body {
  font-family: 'Tajawal', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;

  background: linear-gradient(135deg, #fffdf8, #fffdf800);
}

.container,
footer {
  overflow: hidden;
  width: 100%;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'El Messiri', sans-serif;
}

.txet-gold {
  color: var(--gold) !important;
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.logo-container>div {
  flex: 0 0 48%;
  text-align: center;
}

.logo-container img {
  height: 140px;
  object-fit: contain;
  max-width: 100%;
}

@media (max-width: 992px) {
  .logo-container img {
    height: 120px !important;
  }
}

@media (max-width: 768px) {
  .logo-container img {
    height: 100px;
  }
}

@media (max-width: 576px) {
  .logo-container img {
    height: 80px;
  }
}



.login-box {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 450px;
  width: 100%;
  margin: auto;
}


.login-form {
  padding: 40px 30px;
}

.form-control {
  height: 45px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(55, 138, 192, 0.25);
}

.btn-login {
  background-color: var(--blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  width: 100%;
  transition: all 0.3s;
}

.btn-login:hover {
  background-color: #2a79a8;
  color: white;

  transform: translateY(-2px);
}


/* Animations */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.8;
  }
}

.footer {
  background: linear-gradient(135deg, #2c3e50, #1a2a3a);
  color: #fff;
  padding: 10px 0;
  margin-top: auto;
  border-radius: 20px 20px 0 0;
  font-family: 'Tajawal', sans-serif;
}

.footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}

.version-badge {
  background-color: rgba(55, 138, 192, 0.2);
  color: #bc9552;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  border: 1px solid rgba(55, 138, 192, 0.5);
  font-size: 14px;
}

.copyright-text {
  margin: 0;
  color: #c5c3c6;
  font-size: 14px;
}

.company-logo {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.company-logo img {
  height: 45px
}

.logo-part {
  font-size: 18px;
  margin: 0 2px;
}

.logo-text {
  color: var(--gold);
  font-size: 14px;
  margin-right: 5px;
  transition: 0.3s all;
}

.logo-text:hover {
  text-decoration: none;
  color: #fff;
}

@media (max-width: 768px) {
  .footer .row {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
  }

  .footer .col-md-4 {
    flex: 1;
    margin-bottom: 0 !important;
    text-align: center !important;
  }

  .footer .version-badge {
    font-size: 12px;
    padding: 4px 10px;
  }

  .company-logo img {
    height: 35px;
  }

  .logo-text {
    font-size: 12px;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .footer .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer .col-md-4 {
    width: 100%;
    margin-bottom: 10px;
  }

  .company-logo img {
    height: 25px;
    margin-top: 10px;
  }

  .version-badge {
    font-size: 13px;
    padding: 5px 10px;
    margin: 5px 0;
  }

  .logo-text {
    font-size: 13px;
  }
}