* {margin: 0;padding: 0;box-sizing: border-box;font-family: Arial, sans-serif;}
body {background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('image/4.jpeg') no-repeat center center fixed;background-size: cover;min-height: 100vh;display: flex;flex-direction: column;}
.navbar {display: flex;justify-content: space-between;align-items: center;width: 100%;padding: 20px 40px;box-sizing: border-box;}
.logo a {display: flex;align-items: center;}
.logo img {height: 80px;width: auto;background: #ffffff;padding: 4px 8px;border-radius: 6px;object-fit: contain;}
.links {display: flex;align-items: center;list-style: none;gap: 6px;margin: 0;padding: 6px 10px;background: rgba(255, 255, 255, 0.1);backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);border: 1px solid rgba(255, 255, 255, 0.2);border-radius: 50px;}
.links a {color: #ffffff;text-decoration: none;font-size: 0.95rem;font-weight: 500;padding: 6px 16px;border-radius: 50px;transition: all 0.25s ease;}
.links a:hover {background: rgba(255, 255, 255, 0.2);color: #FFD54F;}
.card {background: rgba(255, 255, 255, 0.15);backdrop-filter: blur(15px);border: 1px solid rgba(255, 255, 255, 0.2);border-radius: 16px;padding: 40px 35px;max-width: 440px;width: 90%;margin: auto;box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);box-sizing: border-box;}
h2 {color: #ffffff;font-size: 32px;font-weight: bold;text-align: center;margin-top: 0;margin-bottom: 25px;}
.form-group {margin-bottom: 20px;}
.form-control {width: 100%;padding: 16px 20px;background: #f9f8f4; border: none;border-radius: 8px;color: #555555;font-size: 15px;outline: none;box-sizing: border-box;box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);}
.form-control::placeholder {color: #999999;}
.btn {width: 100%;padding: 16px;background: #143e0c;color: #ffffff;border: none;border-radius: 8px;font-size: 16px;font-weight: bold;cursor: pointer;transition: background 0.2s ease, transform 0.2s ease;margin-top: 10px;}
.btn:hover {background: #1b5311;transform: translateY(-1px);}
.alert {padding: 12px 16px;border-radius: 8px;margin-bottom: 20px;font-size: 14px;box-sizing: border-box;font-weight: bold;text-align: center;}
.alert-error {background: rgba(239, 68, 68, 0.85);border: 1px solid #ef4444;color: #ffffff;}
.modal-overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.6);backdrop-filter: blur(5px);display: flex;align-items: center;justify-content: center;z-index: 9999;}
.modal-window {background: #ffffff;color: #333333;padding: 35px;border-radius: 12px;max-width: 400px;width: 90%;text-align: center;box-shadow: 0 20px 40px rgba(0,0,0,0.4);animation: popUp 0.3s ease-out;}
.modal-window h3 {font-size: 22px;color: #143e0c;margin-bottom: 12px;}
.modal-window p {font-size: 15px;color: #666666;line-height: 1.5;margin-bottom: 24px;}
.modal-btn {display: inline-block;padding: 12px 30px;background: #143e0c;color: #ffffff;text-decoration: none;font-weight: bold;border-radius: 6px;font-size: 15px;transition: background 0.2s;}
.modal-btn:hover {background: #1b5311;}
@keyframes popUp {from { transform: scale(0.8); opacity: 0; }to { transform: scale(1); opacity: 1; }}
.form-footer {text-align: center;margin-top: 24px;color: rgba(255, 255, 255, 0.9);font-size: 14px;line-height: 1.8;}
.form-footer a {color: #ffffff;text-decoration: underline;font-weight: bold;}
@media (max-width: 768px) {
.navbar {flex-direction: column;gap: 15px;padding: 15px 20px;}
.links {gap: 10px;flex-wrap: wrap;justify-content: center;}
.card {padding: 30px 20px;margin: 30px auto;width: 92%;}}
.mini-footer {margin-top: auto;width: 100%;display: flex;justify-content: space-between;align-items: center;padding: 25px 40px;}
.mini-footer p {font-size: 13px;color: rgba(255, 255, 255, 0.8);}.lang-switch { margin-left: 20px; }
.lang-switch a { text-decoration: none; padding: 5px; font-weight: bold; }
.active-lang { border-bottom: 2px solid white; }
