* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, rgba(135, 206, 250, 0.8) 0%, rgba(173, 216, 230, 0.8) 50%, rgba(176, 224, 230, 0.8) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

h1 {
    color: #2c6f9e;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login {
    background: linear-gradient(45deg, #4a9fe8, #2c6f9e);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 111, 158, 0.3);
}

.btn-register {
    background: linear-gradient(45deg, #5cb85c, #449d44);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    min-width: 200px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
    background: linear-gradient(45deg, #2c6f9e, #4a9fe8);
}

.btn-register:hover {
    background: linear-gradient(45deg, #449d44, #5cb85c);
}

.app-info {
    color: #2c6f9e;
    font-size: 16px;
    margin-top: 20px;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .glass-card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }

    .btn {
        font-size: 16px;
        padding: 12px;
    }
}

/* Стили для формы регистрации */
.form-actions {
    text-align: center;
    margin-top: 25px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c6f9e;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(44, 111, 158, 0.3);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
}

.input-group input:focus {
    outline: none;
    border-color: #2c6f9e;
    box-shadow: 0 0 0 3px rgba(44, 111, 158, 0.2);
}

.error-message {
    /* color: #d9534f; */
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.auth-link {
    margin-top: 20px;
    color: #2c6f9e;
}

.link {
    color: #2c6f9e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #4a9fe8;
    text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .input-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Стили для формы входа */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c6f9e;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(44, 111, 158, 0.3);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
}

.input-group input:focus {
    outline: none;
    border-color: #2c6f9e;
    box-shadow: 0 0 0 3px rgba(44, 111, 158, 0.2);
}

.form-actions {
    text-align: center;
    margin: 25px 0 20px;
}

.error-message {
    /* color: #d9534f; */
    /* background-color: rgba(217, 83, 79, 0.1); */
    padding: 12px 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-link {
    margin-top: 20px;
    color: #2c6f9e;
}

.link {
    color: #2c6f9e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #4a9fe8;
    text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .input-group input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .error-message,
    .success-message {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Стили для страницы данных пользователя */
.user-info {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.user-info p {
    margin: 0;
    font-size: 18px;
    color: #2c6f9e;
}

.section-title {
    color: #2c6f9e;
    margin: 30px 0 20px;
    text-align: center;
    font-size: 24px;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 25px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.data-table th {
    background: linear-gradient(45deg, #4a9fe8, #2c6f9e);
    color: white;
    padding: 15px;
    text-align: left;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(44, 111, 158, 0.2);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background-color: rgba(44, 111, 158, 0.1);
}

.status-success {
    color: #28a745;
    font-weight: 600;
}

.status-failed {
    color: #dc3545;
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.btn-pagination {
    padding: 10px 15px;
    font-size: 16px;
    min-width: 100px;
}

.page-info {
    color: #2c6f9e;
    font-weight: 600;
}

.actions-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.action-form {
            width: 100%; /* Занимает всю ширину контейнера */
            text-align: center;
            box-sizing: border-box;
}

.btn-logout {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-logout:hover {
    background: linear-gradient(45deg, #495057, #6c757d);
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(45deg, #c82333, #dc3545);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 10px;
    }

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }

    .actions-container {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .user-info p {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }
}


/* Добавьте эти стили в конец вашего CSS файла */

/* Контейнер для форм с кнопками */
.actions-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
    max-width: 400px; /* Ограничиваем максимальную ширину контейнера */
}

/* Формы с кнопками */
.action-form {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Стили для всех кнопок в контейнере действий */
.actions-container .btn {
    width: 100%; /* Занимает всю ширину родительского контейнера */
    min-width: 280px; /* Минимальная ширина для всех кнопок */
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}

/* Специфичные стили для разных типов кнопок */
.btn-login {
    background: linear-gradient(45deg, #4a9fe8, #2c6f9e);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 111, 158, 0.3);
}

.btn-logout {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .actions-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .actions-container .btn {
        font-size: 16px;
        padding: 12px 15px;
        min-width: 250px; /* Уменьшаем минимальную ширину на мобильных */
    }
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
.content-wrapper {
    flex: 1;
}

.site-footer {
    color: #2c6f9e;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}