* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f0f9ff;
            background-image: linear-gradient(135deg, #e0f7fa 0%, #f0f9ff 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            color: #006064;
            opacity: 0;
            animation: bodyFadeIn 0.8s ease-out forwards;
        }
        
        /* Анимации */
        @keyframes bodyFadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-40px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        @keyframes formFieldAppear {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Шапка */
        .header {
            width: 100%;
            max-width: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            padding: 15px;
            background-color: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 150, 150, 0.1);
            opacity: 0;
            animation: slideDown 0.8s ease-out 0.3s forwards;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .logo {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            font-weight: bold;
            box-shadow: 0 5px 15px rgba(0, 150, 150, 0.3);
            opacity: 0;
            animation: fadeInScale 0.6s ease-out 0.5s forwards;
        }

        .logo-image {
            width: 51px; /* Настройте под нужный размер */
            height: auto;
            display: block;
        }
        
        .brand-name {
            font-size: 32px;
            font-weight: 800;
            color: #000000;
            letter-spacing: 1px;
            opacity: 0;
            animation: fadeIn 0.6s ease-out 0.7s forwards;
        }
        
        .brand-name span {
            color: #00acc1;
        }
        
        /* Форма авторизации */
        .auth-container {
            width: 100%;
            max-width: 500px;
            background-color: white;
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 0 15px 35px rgba(0, 150, 150, 0.15);
            opacity: 0;
            animation: slideUp 0.8s ease-out 0.5s forwards;
        }
        
        .auth-title {
            text-align: center;
            font-size: 28px;
            margin-bottom: 30px;
            color: #006064;
            font-weight: 600;
            opacity: 0;
            animation: fadeIn 0.6s ease-out 0.7s forwards;
        }
        
        .form-group {
            margin-bottom: 25px;
            position: relative;
            opacity: 0;
            animation: formFieldAppear 0.6s ease-out forwards;
        }
        
        .form-group:nth-child(1) {
            animation-delay: 0.8s;
        }
        
        .form-group:nth-child(2) {
            animation-delay: 0.9s;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #00796b;
            font-size: 16px;
        }
        
        .input-container {
            position: relative;
        }
        
        .form-input {
            width: 100%;
            padding: 16px 20px 16px 50px;
            border: 2px solid #e0f2f1;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            color: #006064;
            background-color: #f8fdff;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #00acc1;
            box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.2);
        }
        
        .input-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #00acc1;
            font-size: 18px;
        }
        
        /* SVG иконки вместо Font Awesome */
        .input-icon svg {
            width: 20px;
            height: 20px;
            fill: #00acc1;
        }
        
        .password-toggle {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #80deea;
            cursor: pointer;
            font-size: 18px;
            transition: color 0.3s;
        }
        
        .password-toggle svg {
            width: 20px;
            height: 20px;
            fill: #80deea;
            transition: fill 0.3s;
        }
        
        .password-toggle:hover svg {
            fill: #00acc1;
        }
        
        /* Кнопка входа */
        .submit-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
            transform: 0.3s ease; /* Добавлен transform в transition */
            letter-spacing: 1px;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 150, 150, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            animation: fadeInScale 0.6s ease-out 1s forwards;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px) scale(1.02); /* Добавлено scale(1.02) */
            box-shadow: 0 8px 25px rgba(0, 150, 150, 0.5); /* Усилена тень */
        }
        
        .submit-btn:active {
            transform: translateY(0);
        }
        
        .submit-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.7s;
        }
        
        .submit-btn:hover::after {
            left: 100%;
        }
        
        .submit-btn svg {
            width: 20px;
            height: 20px;
            fill: white;
            margin-right: 10px;
        }
        
        /* Дополнительные элементы */
        .auth-footer {
            text-align: center;
            margin-top: 25px;
            font-size: 15px;
            color: #00796b;
            opacity: 0;
            animation: fadeIn 0.6s ease-out 1.1s forwards;
        }
        
        .auth-footer a {
            color: #00acc1;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .auth-footer a:hover {
            color: #006064;
            text-decoration: underline;
        }
        
        /* Эффект для успешной/неуспешной авторизации */
        .success {
            border-color: #4caf50 !important;
        }
        
        .error {
            border-color: #f44336 !important;
        }
        
        .message {
            text-align: center;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: 500;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.5s ease;
        }
        
        .message.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .success-message {
            background-color: #e8f5e9;
            color: #2e7d32;
            border: 1px solid #c8e6c9;
        }
        
        .error-message {
            background-color: #ffebee;
            color: #c62828;
            border: 1px solid #ffcdd2;
        }

        .blocked-message {
            background: linear-gradient(90deg, #ff4444, #cc0000);
            color: white;
            padding: 15px 20px;
            border-radius: 12px;
            margin: 20px 0;
            font-weight: 500;
            text-align: center;
            box-shadow: 0 4px 10px rgba(255, 68, 68, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.2);
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .header {
                max-width: 90%;
                padding: 12px;
            }
            
            .logo {
                width: 60px;
                height: 60px;
                font-size: 24px;
            }
            
            .brand-name {
                font-size: 28px;
            }
            
            .auth-container {
                max-width: 90%;
                padding: 30px 20px;
            }
            
            .auth-title {
                font-size: 24px;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 15px;
            }
            
            .header {
                max-width: 100%;
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
            
            .logo-container {
                flex-direction: column;
                gap: 10px;
            }
            
            .brand-name {
                font-size: 26px;
            }
            
            .auth-container {
                max-width: 100%;
                padding: 25px 15px;
            }
            
            .form-input {
                padding: 14px 20px 14px 45px;
            }
            
            .submit-btn {
                padding: 16px;
            }
        }