:root {
  --primary: #003366;
  --primary-dark: #002b57;
  --primary-light: rgba(0, 51, 102, 0.1);
  --secondary: #e0f7fa;
  --white: #ffffff;
  --gray: #f9f9f9;
  --gray-dark: #666;
  --border: #ddd;
  --shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
}

/* Temel Reset ve Tipografi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--secondary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/mtü-logo.png') repeat center/120px;
  opacity: 0.03;
  z-index: -1;
}

/* Ana Container */
.register-container {
  width: 100%;
  max-width: 500px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 20px;
  overflow: hidden;
}

/* Başlık Alanı */
.register-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.register-header .logo {
  width: 80px;
  margin-bottom: 1rem;
}

.register-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Form Alanı */
.register-form {
  padding: 2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 500;
}

.form-group label i {
  margin-right: 0.5rem;
  width: 1rem;
  text-align: center;
}

/* Input ve Select Stilleri */
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}

/* Select Özel Stili */
.form-group select {
  appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Şifre Göster/Gizle */
.toggle-password {
  position: absolute;
  right: 1rem;
  top: 2.75rem;
  cursor: pointer;
  color: var(--gray-dark);
}

/* Buton Stili */
.register-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.register-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Alt Bilgi */
.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--gray-dark);
}

.form-footer a {
  color: var(--primary);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

.university-info {
  padding: 1rem;
  background: var(--gray);
  color: var(--gray-dark);
  text-align: center;
  font-size: 0.8rem;
}

/* Responsive Tasarım */
@media (max-width: 480px) {
  .register-container {
    margin: 1rem;
    border-radius: 0.5rem;
  }
  
  .register-form {
    padding: 1.5rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group input,
  .form-group select {
    padding: 0.65rem 0.9rem;
  }
}