﻿/*
=========================================================
الملف      : signup.css
القسم      : إنشاء حساب

المسؤوليات:
✓ تعديلات خاصة بنموذج إنشاء الحساب

ممنوع:
✗ تصميم نماذج أخرى

أي تعديل بصري لنموذج التسجيل يتم من داخل هذا الملف فقط.
=========================================================
*/
/* signup.css — Signup-specific styles.
   Shared auth styles are in: modules/auth/shared/auth_shared.css
   Responsive and polish styles are in: الرئيسيه/مشترك/mobile.css */

/* ── AGE CONFIRMATION CHECKBOX ── */
.age-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 16px 0 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s;
}

.age-confirm:hover {
  border-color: rgba(53, 217, 255, 0.25);
}

.age-confirm input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.age-checkmark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  margin-top: 1px;
}

.age-checkmark::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid transparent;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: 0.2s;
}

.age-confirm input:checked ~ .age-checkmark {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  border-color: transparent;
  box-shadow: 0 0 12px rgba(53, 217, 255, 0.3);
}

.age-confirm input:checked ~ .age-checkmark::after {
  border-color: #00131e;
}

.age-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.age-confirm input:checked ~ .age-text {
  color: rgba(255, 255, 255, 0.9);
}

.age-confirm.shake {
  animation: ageShake 0.4s ease;
  border-color: #ff4d4d;
}

@keyframes ageShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
