/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Mobile Container */
.mobile-container {
  width: 100%;
  max-width: 390px;
  background-color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 120px;
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px 4px 20px;
  background: #fff;
}

.status-time {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.5px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  width: 16px;
  height: 16px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 10px 20px;
  background-color: #ffffff;
}

.header-left {
  font-size: 13px;
  color: #E31B23;
  font-weight: 600;
  cursor: pointer;
  min-width: 50px;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo-text-ar {
  font-size: 11px;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-text-en {
  font-size: 9px;
  color: #888;
  letter-spacing: 1px;
}

.header-right {
  min-width: 50px;
  display: flex;
  justify-content: flex-end;
}

.notification-icon {
  position: relative;
  cursor: pointer;
}

.notification-icon svg {
  width: 22px;
  height: 22px;
  color: #333;
  stroke: #333;
  fill: none;
}

/* Promotional Banner */
.promo-banner {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  margin: 5px 18px 20px 18px;
  background-color: #fff;
  border-radius: 12px;
  gap: 14px;
  min-height: 100px;
}

.banner-image-container {
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.banner-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  flex: 1;
}

.banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.3;
}

.banner-description {
  font-size: 11px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 8px;
}

.discover-link {
  display: inline-flex;
  align-items: center;
  color: #E31B23;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  gap: 4px;
}

.discover-link:hover {
  text-decoration: underline;
}

.discover-link .arrow-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Login Form */
.login-section {
  padding: 10px 25px 0 25px;
}

.input-group {
  position: relative;
  margin-bottom: 18px;
  border-bottom: 1.5px solid #ddd;
  display: flex;
  align-items: center;
  padding-bottom: 2px;
}

.input-group:focus-within {
  border-bottom-color: #E31B23;
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex-shrink: 0;
  margin-right: 8px;
}

.input-icon svg {
  width: 20px;
  height: 20px;
  stroke: #bbb;
  fill: none;
}

.input-field {
  flex: 1;
  padding: 12px 0;
  border: none;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: #333;
  letter-spacing: 0.3px;
}

.input-field::placeholder {
  color: #bbb;
  font-size: 14px;
}

.password-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  stroke: #E31B23;
  fill: none;
}

.password-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding: 12px 0;
}

.password-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #333;
  border-radius: 50%;
}

.forgot-link {
  display: block;
  text-align: center;
  color: #E31B23;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 5px;
  margin-bottom: 22px;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Login Button */
.login-button {
  width: 100%;
  padding: 15px;
  background-color: #E31B23;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  margin-bottom: 18px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
}

.login-button:hover {
  background-color: #c9171e;
  box-shadow: 0 6px 20px rgba(227, 27, 35, 0.4);
}

.login-button:active {
  transform: scale(0.98);
}

/* Signup Section */
.signup-section {
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
}

.signup-text {
  font-size: 13px;
  color: #555;
}

.signup-link {
  color: #333;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

.signup-link:hover {
  text-decoration: underline;
}

/* Device Registration Section */
.device-section {
  padding: 20px 25px 15px 25px;
  text-align: center;
}

.device-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.device-description {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  line-height: 1.4;
}

.device-link {
  color: #E31B23;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.device-link:hover {
  text-decoration: underline;
}

/* Quick Features Title */
.quick-features-title {
  font-size: 14px;
  font-weight: 700;
  color: #999;
  padding: 15px 25px 10px 25px;
}

/* Quick Features / Bottom Navigation */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 15px 20px 15px;
  padding: 26px 15px 31px 15px;
  background-color: #ffffff;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #555;
  cursor: pointer;
  flex: 1;
  max-width: 100px;
}

.nav-icon-box {
  width: 56px;
  height: 56px;
  border: 1.5px solid #eee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  background: #fff;
  position: relative;
}

.nav-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: #E31B23;
  fill: none;
}

.nav-icon-box .icon-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: #E31B23;
  border-radius: 50%;
}

.nav-text {
  font-size: 10px;
  font-weight: 500;
  color: #555;
  text-align: center;
  line-height: 1.3;
}

/* Scrollbar hide */
.mobile-container::-webkit-scrollbar {
  display: none;
}

.mobile-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}