body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.container {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.main-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

h1 {
    margin: 0 0 32px 0;
    color: #333;
    font-size: 28px;
    font-weight: 500;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

button {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.view-btn {
    background: #0066FF;
    color: white;
}

.admin-btn {
    background: #f5f5f5;
    color: #666;
}

button:hover {
    opacity: 0.9;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-content h2 {
    margin: 0 0 24px 0;
    color: #333;
    font-size: 24px;
    font-weight: 500;
}

.modal-content input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 24px;
    box-sizing: border-box;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-buttons button {
    padding: 12px 24px;
    width: auto;
}

.modal-buttons button.primary {
    background: #0066FF;
    color: white;
}

.modal-buttons button:not(.primary) {
    background: #f5f5f5;
    color: #666;
}

/* Стили для footer с незаметной ссылкой */
.footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    font-size: 12px;
    color: #777;
    text-align: center;
}

.admin-link {
    cursor: pointer;
    color: #888;
    font-size: 13px;
}

.admin-link:hover {
    color: #666;
}
