/* Базовые стили для мобильного экрана 390x844 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    margin: 0;
}

.container {
    width: 390px;
    min-height: 844px;
    background: white;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h2, h3 { color: #333; text-align: center; }

form { display: flex; flex-direction: column; gap: 15px; }

input, select, button {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease; /* Микроанимация */
}

input:focus, select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover { background-color: #0056b3; transform: scale(1.02); }

.error { color: red; font-size: 14px; text-align: center; }

/* Слайдер */
.slider {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slides img { width: 100%; flex-shrink: 0; border-radius: 10px; }

/* Карточки заявок */
.card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fafafa;
}

/* Таблица для админа */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
th { background-color: #f2f2f2; }
.container { width: 390px; margin: auto; padding: 20px; font-family: sans-serif; }
.card { border: 1px solid #ccc; padding: 10px; margin: 10px 0; transition: 0.3s; }
.card:hover { transform: scale(1.02); }
.slider-wrapper { position: relative; overflow: hidden; }
.slides { display: flex; transition: 0.5s; }
.slides img { width: 100%; flex-shrink: 0; }
.slider-btn { position: absolute; top: 50%; cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #ddd; padding: 8px; }