* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background-color: #f3f4f6; display: flex; justify-content: center; align-items: center; min-height: 100vh; color: #111827; overflow-x: hidden; }


.lang-selector { position: absolute; top: 20px; right: 20px; z-index: 50; }
.lang-selector select { padding: 6px 30px 6px 12px; border-radius: 6px; border: 1px solid #d1d5db; background-color: white; font-size: 13px; cursor: pointer; outline: none; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23374151%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 10px top 50%; background-size: 10px auto; color: #374151;}


.toast { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); background: white; padding: 16px 24px; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1000; border-left: 4px solid #f59e0b; min-width: 300px; }
.toast.show { top: 20px; }
.toast-content { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #1f2937; }
#closeToast { background: none; border: none; font-size: 24px; line-height: 1; color: #9ca3af; cursor: pointer; padding: 0; width: auto; transition: color 0.2s; }
#closeToast:hover { color: #374151; background: none; }

.login-wrapper { width: 100%; max-width: 400px; padding: 20px; }
.login-box { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 5px; color: #2563eb; }
.subtitle { text-align: center; color: #6b7280; font-size: 14px; margin-bottom: 30px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: #374151; }
.input-group input { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; outline: none; transition: border-color 0.2s; }
.input-group input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
button { width: 100%; background: #2563eb; color: white; border: none; padding: 12px; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
button:hover { background: #1d4ed8; }
button:disabled { background: #93c5fd; cursor: not-allowed; }
.footer-links { margin-top: 20px; display: flex; justify-content: center; font-size: 13px; }
.footer-links a { color: #2563eb; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.error-msg { color: #ef4444; font-size: 13px; margin-bottom: 15px; text-align: center; min-height: 20px; }
.banned-box { text-align: center; }
.banned-box h2 { margin: 15px 0 10px; }
.timer-text { margin-top: 15px; font-size: 14px; color: #4b5563; line-height: 1.5; }