/* Стили для модального окна */
.modal {
    display: none; /* По умолчанию скрыто */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
}

.donateModal{
    visibility: hidden;
    display: none; /* По умолчанию скрыто */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */ 
}

.modal-content {
    justify-content: center;
    background-color: white; /* Белый фон, как у навбара */
    margin: 10% auto; /* Центрирование по вертикали */
    padding: 20px;
    border-radius: 10px; /* Закругленные углы */
    /* width: fit-content; */
    max-width: 600px; /* Ширина модального окна */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Тень, как у навбара */
    border: 1px solid #e0e0e0; /* Граница, как у навбара */
}

.profile-modal-content {
    justify-content: center;
    background-color: white; /* Белый фон, как у навбара */
    margin: 10% auto; /* Центрирование по вертикали */
    padding: 20px;
    border-radius: 10px; /* Закругленные углы */
    width: 50%;
    /* width: fit-content; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Тень, как у навбара */
    border: 1px solid #e0e0e0; /* Граница, как у навбара */
}


.modal-content h2 {
    font-size: 24px;
    font-family: 'Comic Sans MS', Regular; /* Заменён Nunito на Comic Sans MS */
    color: #1D192B; /* Цвет текста, как у навбара */
    margin-bottom: 20px;
    text-align: center;
}

.modal-content label {
    display: block;
    font-weight: bold;
    color: #1D192B; /* Цвет текста, как у навбара */
    /* margin-bottom: 5px; */
}

.modal-content input[type="email"],
.modal-content input[type="password"] {
    text-align: center;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
    background-color: white;
    color: #1D192B; /* Цвет текста, как у навбара */
    transition: border-color 0.3s, box-shadow 0.3s;
    /* margin-bottom: 15px; */
}
/* Стилизация плейсхолдера */
.modal-content input::placeholder {
    color: #999; /* Серый цвет текста */
}

.modal-content input[type="email"]:focus,
.modal-content input[type="password"]:focus {
    border-color: #7E57C2; /* Акцентный цвет, как у кнопок */
    box-shadow: 0 0 5px rgba(126, 87, 194, 0.5); /* Тень при фокусе */
    outline: none;
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 10px 20px;
    background-color: #7E57C2; /* Фиолетовый цвет, как у кнопок */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.modal-content button[type="submit"]:hover {
    background-color: #9575CD; /* Светлее фиолетовый при наведении */
    transform: scale(1.05); /* Легкое увеличение кнопки */
}

.modal-content p {
    font-size: 14px;
    color: #666;
    text-align: start;
    margin-top: 15px;
}

.modal-content a {
    font-size: 16px;
    color: #aaa; /* Фиолетовый цвет для ссылок */
    text-decoration: none;
    font-weight: bold;
}

.modal-content a:hover {
    color: #FD0558; /* Светлее фиолетовый при наведении */
}
.animal-preview-image {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #ccc;
}
