html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Landing Page Styles */
.landing-page {
  overflow-x: hidden;
}

.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-section .hero-content h1 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
}

.hero-section .btn-primary {
  background-color: white;
  color: #667eea;
  border: none;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-section .btn-outline-primary {
  border: 2px solid white;
  color: white;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-section .btn-outline-primary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

.hero-placeholder {
  padding: 40px;
}

.features-section {
  padding: 80px 0;
}

.feature-card {
  background: white;
  border-radius: 10px;
  transition: all 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* How It Works / Membership Steps */
.steps-section {
  padding: 80px 0;
}

.step-card {
  background: white;
  border-radius: 14px;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #07261f;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(56,239,125,0.35);
}

.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
}

.cta-section h2,
.cta-section p {
  color: white;
}

.cta-section .btn-primary {
  background-color: white;
  color: #667eea;
  border: none;
  font-weight: 600;
}

/* Auth Pages Styles */
.auth-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.auth-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 500px;
  width: 100%;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.auth-header p {
  color: #666;
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.alert {
  border-radius: 8px;
  border: none;
}

.text-danger {
  font-size: 0.875rem;
  margin-top: 5px;
}

/* Dashboard Styles */
.dashboard-card {
  border-radius: 10px;
  transition: all 0.3s;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.dashboard-stat-card {
  border-left: 4px solid;
  border-radius: 8px;
  transition: all 0.3s;
}

.dashboard-stat-card:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.action-button-card {
  border: 2px dashed #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.action-button-card:hover {
  border-color: #667eea;
  background-color: #f8f9ff;
  transform: translateY(-3px);
}

.action-button-card i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
    min-height: auto;
  }
  
  .hero-content h1 {
    font-size: 2rem !important;
  }
  
  .hero-content p {
    font-size: 1rem !important;
  }
  
  .auth-card {
    padding: 25px;
    margin: 15px;
  }
  
  .dashboard-stat-card {
    margin-bottom: 15px;
  }
  
  .action-button-card {
    min-height: 120px;
    padding: 15px;
  }
  
  .action-button-card i {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .features-section,
  .cta-section {
    padding: 40px 0;
  }
  
  .action-button-card {
    min-height: 100px;
  }
  
  .action-button-card i {
    font-size: 1.5rem;
  }
  
  .action-button-card h5 {
    font-size: 0.9rem;
  }
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 10px;
  }
  
  .modal-content {
    border-radius: 10px;
  }
}

/* Table Responsive */
.table-responsive {
  border-radius: 8px;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .table {
    font-size: 0.875rem;
  }
  
  .table td,
  .table th {
    padding: 0.5rem;
  }
}

/* Dashboard Layout Styles */
.dashboard-body {
  background-color: #f4f6f9;
  min-height: 100vh;
  margin-bottom: 0;
}

/* Improved Text Readability */
.dashboard-body .text-muted {
  color: #5a5a7a !important;
}

.dashboard-body .text-secondary {
  color: #4a4a6a !important;
}

.dashboard-body h1, 
.dashboard-body h2, 
.dashboard-body h3, 
.dashboard-body h4, 
.dashboard-body h5, 
.dashboard-body h6 {
  color: #1a1a2e;
}

.dashboard-body .card {
  background-color: #ffffff;
}

.dashboard-body .card-header {
  background-color: #ffffff;
}

.dashboard-body .table th {
  color: #1a1a2e;
  font-weight: 600;
}

.dashboard-body .table td {
  color: #2d2d4a;
}

.dashboard-topbar {
  background: white;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dashboard-main {
  padding-bottom: 30px;
}

/* Transactions Page Styles */
.filter-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.transaction-row {
  transition: all 0.2s;
}

.transaction-row:hover {
  background-color: #f8f9ff;
}

.transaction-type-badge {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
}

.transaction-amount-positive {
  color: #1cc88a;
  font-weight: 600;
}

.transaction-amount-negative {
  color: #e74a3b;
  font-weight: 600;
}

/* Date Picker Styles */
.date-input {
  border-radius: 8px;
}

/* Pagination Styles */
.pagination .page-link {
  border-radius: 8px;
  margin: 0 3px;
  border: none;
  color: #667eea;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state h5 {
  color: #666;
  margin-bottom: 10px;
}

.empty-state p {
  color: #999;
}

@media (max-width: 768px) {
  .dashboard-topbar {
    padding: 10px 0;
  }
  
  .filter-card {
    padding: 15px;
  }
  
  .filter-card .row > div {
    margin-bottom: 10px;
  }
}

/* IBAN Display Styles */
.iban-display {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  word-break: break-all;
  white-space: normal;
}

/* Mobilde IBAN daha küçük font */
@media (max-width: 576px) {
  .iban-display {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
}

/* IBAN Input Stili */
.iban-input {
  font-family: 'Courier New', Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state h5 {
  color: #666;
  margin-bottom: 10px;
}

.empty-state p {
  color: #999;
}

@media (max-width: 768px) {
  .dashboard-topbar {
    padding: 10px 0;
  }
  
  .filter-card {
    padding: 15px;
  }
  
  .filter-card .row > div {
    margin-bottom: 10px;
  }
}

/* IBAN Display Styles */
.iban-display {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  word-break: break-all;
  white-space: normal;
}

/* Mobilde IBAN daha küçük font */
@media (max-width: 576px) {
  .iban-display {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
}

/* IBAN Input Stili */
.iban-input {
  font-family: 'Courier New', Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}