

/* 
---------------------------------------------
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; /* كامل الشاشة */
   display: flex;
  align-items: center;
  justify-content: center;
  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%);
  text-align: center;

}

.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;
}


/* نفس CSS الخدمات تماماً */
.services .service-item:hover .icon img,
.voxel-item:hover .icon img {
  margin-top: -50px;
}

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

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

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

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

.cube {
  width: 2000px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
  
}

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

.cube {
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(-45deg);
  transition: transform 1s;
}

.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%;
  margin-bottom: 20px;
}

.box-container p {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
}

.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);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  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 {
  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: 40%;
  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);
  color: #333;
}

.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 في صفحة تسجيل الدخول */
footer {
  display: none;
}

/* تأكد من أن الـ navigation يبقى مرئي فوق المحتوى */
.header-area {
  z-index: 1000;
}

/* تجاوب مع الشاشات الصغيرة */
@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;
  }
  
  .voxel-services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
  }
  
  .cube {
    width: 60px;
    height: 60px;
  }
  
  .cube-face {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
  
  .voxel-content h2 {
    font-size: 24px;
  }
}

/* إخفاء العناصر القديمة */
#content main .box-info {
  display: none;
}



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

  .cube {
    display: none; /* إذا بدك تخفيه تماماً */
  }
}

/*===========================*/

.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-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;
}


.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);
}


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

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

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

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

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

.signup-link a {
	color: #6A4BD6;
	text-decoration: none;
	font-weight: 500;
}

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

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

.divider::before,
.divider::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 40%;
	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;
}

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

.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;
}


