        body {
            font-family: Arial, sans-serif;
            background-color: #eeeeee;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            height: 100vh;
            justify-content: flex-start;
            flex-direction: column;
            align-content: center;
        }
        .auth {
            font-family: sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            margin: 0;
            background-color: #f4f4f4;
        }
        /* Контейнер форми */
        .form-container {
            background: #ffffff;
            padding: 20px 30px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
        }
        form {
            background-color: #ddd;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            
            
        }
        /* Елементи форми */
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #555555;
        }

        input[type="text"],
        input[type="password"],
        input[type="date"],
        input[type="file"],
        input[type="submit"],
        textarea,
        select {
            width: 100%;
            padding: 8px;
            margin-bottom: 16px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
        }
        
        textarea {
            resize: none;
            height: 100px;
        }

        button {
            background-color: #555555;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }

        button:hover {
            background-color: #45a049;
        }

        .error {
            color: red;
            text-align: center;
            margin-bottom: 16px;
        }

        /* Заголовок форми */
        h1 {
            text-align: center;
            color: #333333;
            margin-bottom: 20px;
        }
        
        header {
            font: 12px sans-serif;
            
        }
        .main-header {
            width: 100%;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            padding: 10px 20px;
            }

        .auth-block {
        
              text-align: right;
              margin-bottom: 10px;
            }

        .auth-btn  {
              background: grey;
              color: white;
              border: none;
              padding: 5px 10px;
              margin-left: 10px;
              border-radius: 4px;
              cursor: pointer;
        }
        
        a {
              text-align: center;
              text-decoration: none;
              display: inline-block;
        }
        
        .main-nav {
              border-top: 1px solid #eee;
              padding-top: 10px;
        }
        
        .menu {
              list-style: none;
              padding: 0;
              margin: 0;
              display: flex;
              justify-content: center;
        }
        
        .menu-item {
              position: relative;
              margin: 0 20px;
        }
        
        .menu-item a {
              font: 12px sans-serif;
              text-decoration: none;
              color: #333;
              padding: 10px;
        }
        
        .submenu {
              font: 12px sans-serif;
              display: none;
              position: absolute;
              background: white;
              min-width: 150px;
              box-shadow: 0 2px 5px rgba(0,0,0,0.1);
              padding: 10px 0;
              z-index: 100;
        }
        
        .dropdown:hover .submenu {
             display: block;
        }
        
        .submenu li {
              list-style: none;
        }
        
        .submenu a {
              display: block;
              padding: 8px 20px;
        }
        
        .submenu a:hover {
              background: #f5f5f5;
        }
        iframe {
                width: 100%;
                height: calc(100vh - 120px);
                border: none;
                background-color: #fff;
            }
.battle-console-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none;
}
.battle-link {
    cursor: pointer;
    position: relative;
}
