/* ============ ساختار پایه ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: #FAFAFA;
  color: #333;
  direction: rtl;
}

/* ============ اپ کانتینر ============ */
.app-container {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 70px;
  /* برای فاصله از bottom nav */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.section-container {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto 70px;
}

/* ============ Header ============ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo-section h1 {
  font-size: 24px;
  font-weight: 900;
  color: #38C5CC;
  margin-right: 10px;
}

.logo-section i,
.icons-header i {
  font-size: 20px;
  color: #38C5CC;
  cursor: pointer;
}

/* ============ Bottom Navigation ============ */
.bottom-nav {
  position: fixed;
  bottom: 0px;
  left: 0;
  right: 0;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  height: 70px;
  border-radius: 20px;
  box-shadow: 0 -8px 28px 0px rgba(45, 58, 58, 0.16), 0 4px 20px rgba(56, 197, 204, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99;
  padding: 0 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.nav-item {
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #38C5CC;
  font-size: 10px;
  padding: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item i {
  font-size: 22px;
  margin-bottom: 3px;
  transition: all 0.3s ease;
  color: #38C5CC;
}

.nav-item.active {
  color: #267378;
}

.nav-item.active i {
  /* transform: translateY(-3px); */
  color: #267378;
}

/* دکمه وسط */
.nav-item.main-action {
  background: linear-gradient(135deg, #38C5CC, #98f2f5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-top: -35px;
  box-shadow: 0 8px 20px rgba(56, 197, 204, 0.15);
}

.nav-item.main-action i {
  font-size: 30px;
  margin: 0;
  color: #fff;
}

.nav-item.main-action.active {
  background: linear-gradient(135deg, #267378, #98f2f5);

}

.nav-item:not(.main-action):hover {
  color: #2ea1a9;
  transform: translateY(-3px);
}

.nav-item:not(.main-action):hover i {
  color: #2ea1a9;
}


/* ==================== Global Form Elements ==================== */

.form-label {
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea,
input[type="file"] {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus,
input[type="file"]:focus {
  border-color: #38C5CC !important;
  outline: none;
}
