﻿body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center; 
  align-items: center; 
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.top-logo {
  position: fixed;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

form {
  background: white;
  padding: 2rem; 
  border-radius: 12px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
  
  display: flex;
  flex-direction: column; 
  gap: 15px; 
  
  width: 100%;
  max-width: 320px; 
  box-sizing: border-box; 
}

label {
  font-weight: 600;
  color: #333;
  font-size: 1.2rem;
}

input[type="password"] {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px; 
  outline: none;
  transition: border-color 0.3s;
}

input[type="password"]:focus {
  border-color: #007bff; 
}

button {
  padding: 12px;
  background-color: #4f46e5; 
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500; 
  cursor: pointer;
  transition: all 0.2s ease;
}
button:hover {
  background-color: #4338ca; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
}

button:active {
  transform: scale(0.98); 
}
.copyright {
  position: fixed;
  left: 20px;
  bottom: 30px;
  font-size: 0.8rem;
  color: #666;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 650px;
  padding: 0 20px;
  text-align: center;
  margin-top: -5vh;
}

.hero-section {
  margin-bottom: 5rem;
}
.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  color: #111;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.7;
  margin: 0;
  color: #333;
}

.footer-links {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.btn-github svg {
  height: 16px;
  width: 16px;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.04);
  color: #555;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-github:hover {
  background-color: rgba(0, 0, 0, 0.08); 
  color: #111; 
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.text-links a {
  color: #444;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.text-links a:hover {
  opacity: 0.7;
}
.community-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-link span {
  font-size: 0.75rem;
  opacity: 0.5;
  background-color: rgba(0,0,0,0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
}
