/* Reset ve Genel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
}

/* Uber Tarzı Giriş Sayfası */
.login-page {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Dil Seçici */
.lang-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1000;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.lang-btn:hover, .lang-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Uber Container */
.uber-container {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Header */
.uber-header {
  text-align: center;
  margin-bottom: 32px;
}

.app-logo {
  display: inline-block;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease-out;
}

.app-title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.app-subtitle {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}

/* Uber Butonlar */
.uber-button {
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.uber-button.primary {
  background: #000;
  color: #fff;
}

.uber-button.primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.uber-button.google {
  background: #fff;
  color: #000;
  border: 1px solid #e0e0e0;
}

.uber-button.google:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uber-button.outline {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

.uber-button.outline:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.button-icon {
  font-size: 20px;
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Input Alanları */
.uber-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 16px;
  transition: all 0.3s;
  background: #f8f8f8;
}

.uber-input:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

.phone-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.country-code {
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  background: #f8f8f8;
  cursor: pointer;
  min-width: 100px;
}

.country-code:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

/* Divider */
.divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e0e0e0;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider span {
  background: #fff;
  padding: 0 16px;
  color: #999;
  font-size: 14px;
}

/* Terms */
.terms-text {
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-top: 16px;
}

.terms-text a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

/* Back Button */
.back-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: color 0.3s;
}

.back-btn:hover {
  color: #000;
}

/* Forgot Link */
.forgot-link {
  display: block;
  text-align: right;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Switch Text */
.switch-text {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 24px;
}

.switch-text a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.switch-text a:hover {
  text-decoration: underline;
}

/* Login Options */
.login-options {
  animation: fadeIn 0.5s ease-out;
}

.login-form {
  animation: fadeIn 0.5s ease-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RTL Desteği (Arapça için) */
[dir="rtl"] .back-btn {
  flex-direction: row-reverse;
}

[dir="rtl"] .uber-button {
  flex-direction: row-reverse;
}

[dir="rtl"] .phone-input-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .forgot-link {
  text-align: left;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .uber-container {
    padding: 32px 24px;
  }
  
  .app-title {
    font-size: 32px;
  }
  
  .lang-selector {
    top: 10px;
    right: 10px;
  }
}

/* Ana Sayfa Stilleri */
.app-container {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.header {
  background: #000;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
}

.header h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  transition: background 0.3s;
  border-radius: 8px;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.map-container {
  flex: 1;
  background: #f5f5f5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f0f0 100%);
}

.map-placeholder {
  text-align: center;
  color: #666;
}

.map-placeholder .icon {
  font-size: 64px;
  margin-bottom: 10px;
}

.location-marker {
  position: absolute;
  font-size: 32px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ride-panel {
  background: white;
  padding: 24px 20px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
  z-index: 10;
}

.location-input {
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  padding: 16px 18px;
  border-radius: 12px;
  width: 100%;
  margin-bottom: 12px;
  font-size: 15px;
  transition: all 0.3s;
}

.location-input:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

.ride-options {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  overflow-x: auto;
}

.ride-option {
  flex: 1;
  min-width: 100px;
  background: #f8f8f8;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.ride-option:hover {
  border-color: #000;
  background: #f0f0f0;
  transform: translateY(-2px);
}

.ride-option.selected {
  border-color: #000;
  background: #000;
  color: #fff;
}

.ride-option.selected .car-type,
.ride-option.selected .car-price {
  color: #fff;
}

.ride-option .car-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.ride-option .car-type {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-top: 4px;
}

.ride-option .car-price {
  font-size: 15px;
  color: #000;
  font-weight: 700;
  margin-top: 6px;
}

.request-ride-btn {
  width: 100%;
  background: #000;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  margin-top: 16px;
}

.request-ride-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.request-ride-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  background: white;
  padding: 12px 0;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #999;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 12px;
}

.nav-item.active {
  color: #000;
  background: #f5f5f5;
}

.nav-item:hover {
  color: #000;
}

.nav-item .icon {
  font-size: 24px;
  margin-bottom: 4px;
}

/* Geçmiş Sayfası Stilleri */
.history-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f5f5f5;
}

.history-item {
  background: white;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.history-icon {
  font-size: 32px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f8ff;
  border-radius: 50%;
}

.history-details {
  flex: 1;
}

.history-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #333;
}

.history-date {
  margin: 0;
  font-size: 12px;
  color: #999;
}

.history-driver {
  margin: 5px 0 0 0;
  font-size: 13px;
  color: #666;
}

.history-price {
  font-size: 18px;
  font-weight: bold;
  color: #12b1d1;
}

.summary-box {
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  color: white;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  margin-top: 20px;
}

.summary-box h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  opacity: 0.9;
}

.total-amount {
  font-size: 36px;
  font-weight: bold;
  margin: 10px 0;
  display: block;
}

.total-rides {
  font-size: 14px;
  opacity: 0.9;
  margin: 5px 0;
}

/* Ödeme Sayfası Stilleri */
.payment-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f5f5f5;
}

.payment-method {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.payment-method:hover {
  border-color: #12b1d1;
}

.payment-method.selected {
  border-color: #12b1d1;
  background: #e3f2fd;
}

.payment-icon {
  font-size: 32px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f8ff;
  border-radius: 50%;
}

.payment-details {
  flex: 1;
}

.payment-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #333;
}

.payment-details p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.payment-badge {
  font-size: 24px;
  color: #12b1d1;
}

.add-payment-btn {
  width: 100%;
  background: white;
  border: 2px dashed #12b1d1;
  color: #12b1d1;
  padding: 18px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 20px;
}

.add-payment-btn:hover {
  background: #e3f2fd;
}

.wallet-section {
  background: white;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 20px;
}

.wallet-section h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #333;
}

.wallet-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  padding: 20px;
  border-radius: 15px;
  color: white;
  margin-bottom: 15px;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
}

.balance-amount {
  font-size: 28px;
  font-weight: bold;
}

.add-balance-btn {
  width: 100%;
  background: #12b1d1;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.add-balance-btn:hover {
  background: #0ea0c0;
}

.promo-section {
  background: white;
  border-radius: 20px;
  padding: 25px;
}

.promo-section h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #333;
}

.promo-input {
  flex: 1;
  background: #f5f5f5;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-size: 14px;
}

.promo-input:focus {
  outline: 2px solid #12b1d1;
}

.promo-apply-btn {
  background: #12b1d1;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}

.active-promos {
  margin-top: 15px;
}

.promo-item {
  background: #f0f8ff;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo-discount {
  background: #12b1d1;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
}

/* Profil Sayfası Stilleri */
.profile-container {
  flex: 1;
  overflow-y: auto;
  background: #f5f5f5;
}

.profile-header {
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: white;
  color: #12b1d1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 15px auto;
  border: 5px solid rgba(255,255,255,0.3);
}

.profile-header h3 {
  margin: 0 0 5px 0;
  font-size: 24px;
}

.profile-phone {
  margin: 0 0 15px 0;
  opacity: 0.9;
  font-size: 14px;
}

.profile-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.rating-text {
  font-size: 12px;
  opacity: 0.9;
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  background: white;
  padding: 20px;
  margin: -30px 20px 20px 20px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #12b1d1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #666;
}

.profile-menu {
  background: white;
  margin: 0 20px 20px 20px;
  border-radius: 20px;
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: #f5f5f5;
}

.menu-icon {
  font-size: 20px;
  width: 30px;
}

.menu-item span:nth-child(2) {
  flex: 1;
  font-size: 15px;
}

.menu-arrow {
  font-size: 20px;
  color: #ccc;
}

.app-version {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 12px;
}