<style>
:root {
  /* Renk Paleti */
  --primary-color: #4a6bff;
  --primary-hover: #3a5bef;
  --primary-light: rgba(74, 107, 255, 0.1);
  --secondary-color: #f8f9fa;
  --text-color: #333;
  --light-text: #6c757d;
  --white: #ffffff;
  --border-color: rgba(0, 0, 0, 0.05);
  
  /* Efektler */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  
  /* Boyutlar */
  --border-radius: 8px;
  --header-height: 70px;
  --footer-height: 70px;
  --container-width: 100%;
}

/* Temel Reset ve Tipografi */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-color);
  background-color: #f5f7ff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: var(--footer-height);
}

/* Header Stilleri */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  padding: 0 15px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

/* Logo Stilleri */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  height: 36px;
  width: auto;
  transition: var(--transition);
}

.logo h5 {
  margin: 0;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  display: none;
}

/* Buton Stilleri */
.header-buttons {
  display: flex;
  gap: 10px;
}

.custom-alert-button {
  padding: 10px 16px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.login-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.login-btn:hover {
  background-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.register-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.register-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Ana İçerik */
main {
  margin-top: var(--header-height);
  padding: 30px 0;
  flex: 1;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

.ara-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* Hata Mesajları */
.error {
  color: #d32f2f;
  background-color: #fde8e8;
  padding: 12px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  font-size: 14px;
  border-left: 4px solid #d32f2f;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --border-radius: 0;
  }
  
  .header-container {
    padding: 0 10px;
  }
  
  .logo img {
    height: 32px;
  }
  
  .custom-alert-button {
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
  }
  
  main {
    padding: 15px 0;
  }
  
  .ara-container {
    padding: 0;
    margin-bottom: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  
  /* Container'ın taşmasını engellemek için */
  .container {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 56px;
  }
  
  .logo h5 {
    display: none;
  }
  
  .header-buttons {
    gap: 6px;
  }
  
  .custom-alert-button {
    padding: 8px;
    min-width: 44px;
    justify-content: center;
  }
  
  .custom-alert-button span {
    display: none;
  }
  
  .custom-alert-button i {
    margin: 0;
    font-size: 16px;
  }
  
  main {
    margin-top: var(--header-height);
    padding: 0;
  }
  
  .ara-container {
    padding: 16px;
  }
}

/* Utility Classlar */
.hidden-mobile {
  display: inline;
}

.visible-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }
  
  .visible-mobile {
    display: inline;
  }
}

/* Dokunmatik Cihaz Optimizasyonu */
@media (hover: none) {
  .custom-alert-button:hover {
    transform: none !important;
  }
  
  .custom-alert-button:active {
    transform: scale(0.98);
  }
}
</style>