
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p {
  line-height: 1.4;
}

a {
  outline: none;
  text-decoration: none;
  padding: 2px 1px 0;
}

a:link {
  color: #0257d6;
}

a:visited {
  color: #0257d6;
}

a:focus {
}

a:hover {
    color: #00419d;
}


.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.logo img {
    max-width: 90%; /* Оставляет отступы */
    max-height: 90%;

}
body {
    background: linear-gradient(180deg, #0058d5, #512240eb);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 600px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}


.login-header i {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 10px;
}

.login-header h2 {
    font-size: 28px;
    color: #2c3e50;
    text-align: center;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:hover {
    border: 1px solid #171717;
}

.form-group input:focus {
    border-color: #025de1;
    outline: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #0062ef;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
       transform: translateY(-2px);
    box-shadow: 0px 0px 19px 4px rgba(52, 152, 219, 0.3);
}

.message {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    margin-bottom: 10px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.p-text {
    text-align: center;
    color: #3f3f3f;
    margin-top: 10px;
}

.head-message {
    text-align: center;
    font-size: 23px;
    margin: 15px;
    font-weight: 400;
}

h4.message2 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
    color: #161616;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

