:root {
            --primary: #007bff;
            --primary-hover: #0056b3;
            --bg: #f0f2f5;
            --card-bg: #ffffff;
            --text: #333;
            --border: #ddd;
        }

        body { 
            background: var(--bg); 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            margin: 0; 
          display: block;
            align-items: center; 
            justify-content: center; 
            min-height: 100vh;
			
        }

        .auth-card { 
            width: 100%;
            max-width: 500px; 
            background: var(--card-bg); 
            padding: 40px; 
            border-radius: 16px; 
            box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
            box-sizing: border-box;
			margin:5px auto;
        }

        .auth-card h1 { 
            text-align: center; 
            margin-bottom: 25px; 
            color: var(--text);
            font-weight: 700;
			font-size: 25px;
        }

        .form-group { margin-bottom: 18px; }

        input[type="email"], 
        input[type="text"], 
        select { 
            width: 100%; 
            padding: 12px 15px; 
            border: 1px solid var(--border); 
            border-radius: 10px; 
            box-sizing: border-box; 
            font-size: 15px;
            transition: all 0.3s;
            background-color: #f9f9f9;
			margin:0;
        }

        input:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            background-color: #fff;
            box-shadow: 0 0 0 4px rgba(0,123,255,0.1);
        }

        /* Стили для блока капчи */
        .captcha-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 20px 0;
            background: #f8f9fa;
            padding: 10px;
            border-radius: 10px;
            border: 1px dashed #ccc;
        }

        .captcha-container img {
            border-radius: 6px;
            cursor: pointer;
            height: 40px;
        }

        .captcha-container input {
            flex: 1;
            margin: 0;
        }

        button[type="submit"] { 
            width: 100%; 
            padding: 14px; 
            background: var(--primary); 
            color: white; 
            border: none; 
            border-radius: 10px; 
            font-size: 16px; 
            font-weight: 600; 
            cursor: pointer; 
            transition: background 0.3s, transform 0.1s;
			margin:0;
        }

        button[type="submit"]:hover { background: var(--primary-hover); }
        button[type="submit"]:active { transform: scale(0.98); }

        .footer-links { 
            text-align: center; 
            margin-top: 25px; 
            font-size: 14px; 
            color: #666; 
        }

        .footer-links a { 
            color: var(--primary); 
            text-decoration: none; 
            font-weight: 600;
        }

        .footer-links a:hover { text-decoration: underline; }

        optgroup { font-weight: bold; color: #000; }