/* 
---------------------------------------------
Sign In Style
--------------------------------------------- 
*/
#content {
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
}

.login-container {
  display: flex;
  flex-direction: row-reverse;
  min-height: 100vh;
  overflow: hidden;
  box-shadow: none;
  margin: 0;
  background: #f8f9fa;
  padding-top: 0px;
}

.login-left-side {
  flex: 1;
  background: linear-gradient(135deg, #8865E1 0%, #6B46C1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0px;
  min-height: 100vh;
  text-align: center;
}

.voxel-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 10;
  max-width: 500px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.voxel-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.voxel-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  line-height: 1.3;
}

.voxel-content p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.voxel-item:hover .icon img {
  margin-top: -50px;
}

.voxel-item {
  position: relative;
  margin-top: 5px;
}

.voxel-item .icon {
  width: 120px;
  height: 120px;
  display: inline-block;
  text-align: center;
  line-height: 0px;
  position: relative;
  right: 0;
  top: 0;
}

.voxel-item .icon img {
  max-width: 86px;
}

.icon {
  perspective: 1000px;
  overflow: visible;
}

.cube {
  width: 300px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(-45deg);
  transition: transform 1s;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
}

.centered-voxel {
  position: absolute;
  top: 40%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.cube-face {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
}

.cube-face.front {
  transform: translateZ(150px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(150px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(150px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(150px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(150px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(150px);
}

.cube-purple .cube-face {
  background: linear-gradient(135deg, #8865E1, #6b46c1);
}

.cube-blue .cube-face {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

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

.login-right-side {
  flex: 1;
  background: #F9F9F9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  min-height: 100vh;
}

.form-section {
  width: 100%;
  max-width: 500px;
}

.form-section h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 8px;
  text-align: center;
}

.form-subtitle {
  color: #6B7280;
  margin-bottom: 30px;
  font-size: 16px;
  text-align: center;
}

.box-container {
  width: 100%;
  min-width: 100%;
  margin-bottom: 20px;
}

.box-label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.box-input {
  width: 100%;
  height: 38px;
  background-color: #f0f0f0;
  padding: 0 16px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

.box-input:focus {
  border-color: #8865E1;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(136, 101, 225, 0.1);
}

.box-input1 {
  width: 100%;
  height: 38px;
  background-color: #f0f0f0;
  padding: 0 16px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="gray" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -8px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #555;
}

.remember-me input {
  margin-right: 6px;
  accent-color: #8865E1;
}

.forgot-password {
  color: #8865E1;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-avatar {
  height: 38px;
  padding: 0 16px;
  background: linear-gradient(135deg, #8865E1, #6A4BD6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(136, 101, 225, 0.25);
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.btn-avatar:hover {
  background: linear-gradient(135deg, #7554d1, #583bbd);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(136, 101, 225, 0.4);
  color: white;
}

.divider {
  text-align: center;
  margin: 20px 0;
  font-size: 14px;
  color: #999;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 34%;
  height: 1px;
  background: #ccc;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.btn-google {
  width: 100%;
  max-width: 100%;
  height: 38px;
  background: white;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #333;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  font-size: 14px;
}

.btn-google img {
  height: 20px;
  width: 10%;
}

.btn-google:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.signup-link {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-top: 12px;
}

.signup-link a {
  color: #8865E1;
  text-decoration: none;
  font-weight: 600;
}

.signup-link a:hover {
  text-decoration: underline;
}

footer {
  display: none;
}

.header-area {
  z-index: 1000;
}

.name-fields {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.name-fields .box-container {
  flex: 1;
  min-width: 200px;
}

.password-fields {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.password-fields .box-container {
  flex: 1;
  min-width: 200px;
  position: relative;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }
  
  .login-left-side {
    min-height: 50vh;
    padding: 30px 20px;
  }
  
  .login-right-side {
    min-height: 50vh;
    padding: 40px 20px;
  }
  
  .cube {
    width: 60px;
    height: 60px;
  }
  
  .cube-face {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
  
  .voxel-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .login-left-side {
    min-height: 30vh;
  }

  .cube {
    display: none;
  }
}

#content main .box-info {
  display: none;
}


/* إلغاء أيقونة إظهار الباسورد الافتراضية في Chrome/Edge */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
  display: none !important;
}

input[type="password"]::-webkit-textfield-decoration-container {
  display: none !important;
}



@media (max-width: 1900px) {
 .login-right-side {
  margin-top: 70px;
}
}
