h1 {  font-size: 25px;}
a {  text-decoration: none;  list-style: none;}
/* Background gradient */


body {
  font-family: 'vazir', sans-serif;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  min-height: 100vh;
  display: flex;
  justify-content: center;
align-items: baseline;
margin: 0%;
}
/* حالت پیش‌فرض فارسی */
.lang-switch {
    display: flex;
    gap: 8px;
    justify-content: flex-end; /* پرچم‌ها سمت راست */
}

/* وقتی زبان انگلیسی بود */
.lang-en .lang-switch {
    justify-content: flex-start; /* پرچم‌ها سمت چپ */
}



.lang-switch a {  font-size: 35px;  text-align: center;}
.container.glass.fade-in {
  background: #fff;
  padding: 0%;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  max-width: 500px;
}
.header {
  display: flex;
padding: 40px 20px 8px;
background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  direction: ltr; /* برای جلوگیری از مشکلات پیش‌فرض */
}

.header .menu-icon,
.header .header-title,
.header .lang-switch {
  margin: 0 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}



.header.class1.class2 { 
 background: #827AFF;  background: linear-gradient(0deg, rgba(130, 122, 255, 1) 0%, rgba(98, 90, 251, 1) 100%);
 height: 45px;
}
.header-title.class1.class2 {  color: #FFF;  font-size: 20px;}
img, video, svg {
  max-width: 100%;
  height: 25px;
  display: block;
  vertical-align: middle;
  color: #E6E6E6;
}




.form-box {  padding: 3% 5%;}

.title {
  text-align: center;
  color: #06b6d4;
  margin-bottom: 20px;
  font-weight: bold;
  
}
.field input {
  width: 100%;
  padding: 10px 5px;
  margin: 12px 0;
  border: none;
  border-bottom: 2px solid #06b6d4;
  outline: none;
  font-size: 14px;
}

.lang-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
        margin-bottom: 10px;
  padding-bottom: 5px;
            border-bottom: 2px solid #f0f0f0;
        }
        
     
        
      
        
        .lang-switch {
            display: flex;
            gap: 1px;
        }
        
        .lang-switch a {display: inline-block;    font-size: 24px; transition: transform 0.3s ease;padding:0px 5px;}
        
            .lang-switch a:hover {
            transform: scale(1.2);
        }
        
        .title-h1 h1 { color: #369ca8; font-size: 25px;  margin: 0;    }
        
        .title-h1 i {
            margin: 0 5px;
           color: #369ca8;
        }

.field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 18px 14px 6px 14px;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
}

.field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
}

/* ظاهر کلی فیلد */
.field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}



.field i {
  margin-inline-end: 10px;
  opacity: .8;
  font-size: 1.15rem;
  color: #058493;
}

.field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  padding: 3px 0;
  border-bottom: 1px solid #06b6d4;
  margin: 2px 0;
}

/* لیبل داخل باکس */
.field label {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(0,0,0,.6);
  pointer-events: none;
  transition: opacity .3s ease;
}

/* وقتی فوکوس شد یا مقدار وارد شد → لیبل محو میشه */
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  opacity: 0;
}

.tab {
  text-decoration: none;
  background: #0BB8A71C;
  padding: 8px 10px;
  border-radius: 4px;
}
.tab.active {
  width: 100%;
  padding: 8px 10px;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  border: none;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  transition: 0.3s ease;
  line-height: 45px;
  text-decoration: none;
  margin-left: 10px;
}



/* Form container */
.form-container {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  width: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

/* Title */
.form-title {
  text-align: center;
  color: #06b6d4;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 20px;
}

/* Input box */
.input-box {
  position: relative;
  margin: 20px 0;
  border-bottom: 2px solid #06b6d4;
}

.input-box i {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #06b6d4;
  font-size: 16px;
}

.input-box input {
  width: 100%;
  padding: 10px 30px;
  border: none;
  outline: none;
  font-size: 14px;
  background: none;
}

.input-box label {
  position: absolute;
  top: -8px;
  left: 30px;
  font-size: 12px;
  color: #666;
}

/* Message */
.msg {
  text-align: center;
  font-size: 13px;
  color: red;
  margin-bottom: 10px;
}

/* Button */
.btn {
  width: 100%;
  padding: 12px 0px;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  border: none;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  transition: 0.3s ease;
  font-family: vazir;
}

.btn:hover {
  opacity: 0.9;
}

/* Notes */
.note {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #333;
}

.note a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: bold;
}

.note a:hover {
  text-decoration: underline;
}
  .submenu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .submenu-list li a {
        display: block;
        padding: 8px 14px;
        border-radius: 6px;
        text-decoration: none;
        background: #f8f9fa;
        transition: background 0.2s;
    }
    .submenu-list li a:hover {
        background: #e9ecef;
    }

