/* Для страницы Логина */
/* Контейнер формы */
.log-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Вся форма */
.log-input {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Поля формы */
.log-input input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Кнопка Войти */
.log-input button {
    padding: 10px;
    background-color: #007bff; /* Синий */
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.log-input button:hover {
    background-color: #0056b3;
}

/* Заголовок "Сообщение" */
.log-h1 {
    font-size: 20px;
    margin-top: 20px;
    color: #333;
    text-align: center;
}

/* Сообщение */
.log-message {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
}

/* Цвет по категории */
.success {
    color: green;
    font-weight: bold;
}

.error {
    color: crimson;
    font-weight: bold;
}

/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* Для главной страницы  */
.logout-btn {
    padding: 8px 14px;
    background-color: crimson;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.logout-btn:hover {
    background-color: darkred;
}

.add-index-shop-btn {
    padding: 8px 14px;
    background-color: #1e90ff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.add-index-shop-btn:hover {
    background-color: #007bff;
}

.index-list {
    display: block;
    width: fit-content;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);


}

.index-button-group {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.index-button-group strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.index-shop-btn {
    margin: 5px 5px 5px 0;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    background-color: #007bff;
    transition: background-color 0.2s;
}

.index-shop-btn:hover {
    background-color: #0056b3;
}

.index-shop-btn.delete {
    background-color: #dc3545;
}

.index-shop-btn.delete:hover {
    background-color: #b02a37;
}

.index-select {
    padding: 6px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.index-form {
    margin-bottom: 20px;
}

.index-get-team {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 15px;
}

.index-container {
    padding: 30px 50px;
}

.index-get-team {
    margin-bottom: 10px;
}

.index-form {
    margin-bottom: 25px;
}

.index-bottom-btns {
    margin-top: 40px;
}

ul {
    padding-left: 0;
    list-style: none;
}

.index-shop-btn-green {
    background-color: #00c851;
    color: white;
    border-radius: 8px;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: bold;
}

.index-shop-btn-red {
    background-color: #ff4444;
    color: white;
    border-radius: 8px;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: bold;
}

.index-shop-btn.restart{
  background-color:#10b981; /* зелёная */
}
.index-shop-btn.restart:hover{
  background-color:#0e9f6e;
}

/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* Для страницы добавления магазинов */
/* Контейнер страницы */
.container_add_shop {
    max-width: 500px;
    margin: 80px auto;
    padding: 30px;
    background-color: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.h2_add_shop {
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
}

/* === Новые классы: форма и инпуты === */

.form_add_shop label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #444;
}

.input_add_shop {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border 0.2s ease;
}

.input_add_shop:focus {
    border-color: #007bff;
    outline: none;
}

/* Кнопка submit */
.form_add_shop button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form_add_shop button[type="submit"]:hover {
    background-color: #218838;
}

/* Назад */
.add_shop_back {
    display: block;
    text-align: center;
    margin: 20px auto 10px;
    padding: 10px 20px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    width: fit-content;
}

.add_shop_back:hover {
    background-color: #5a6268;
}

/* Flash-сообщения */
.success {
    color: green;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.error {
    color: crimson;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}


/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* Контейнер страницы ордеров */

.order-body {
    background-color: #f3f4f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px;
}

.order-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    overflow-x: auto;
}

.order-h2 {
    font-size: 26px;
    text-align: center;
    color: #2563eb;
    margin-bottom: 30px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    min-width: 1200px;
}

.orders-table th {
    background-color: #2563eb;
    color: white;
    padding: 14px 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.orders-table td {
    padding: 12px 10px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    white-space: nowrap;
}

.order-back-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background-color: #2563eb;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.order-back-btn:hover {
    background-color: #1e40af;
}


/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* Контейнер страницы деклайнов */

.declines-container {
    max-width: 90%;
    margin: 50px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", sans-serif;
}

.declines-h2 {
    font-size: 24px;
    color: #1a73e8;
    margin-bottom: 30px;
    text-align: center;
}

.declines-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f8fbff;
    border-radius: 10px;
    overflow: hidden;
}

.declines-thead th {
    background-color: #1a73e8;
    color: white;
    font-weight: bold;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

.declines-tbody td {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.declines-back-btn {
    display: inline-block;
    margin-top: 25px;
    background-color: #1a73e8;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.declines-back-btn:hover {
    background-color: #1558c0;
}

.btn-airtable{
  padding:8px 12px;
  border:0;
  border-radius:8px;
  background:#10b981; /* зелёная */
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:opacity .15s ease, transform .02s ease;
}
.btn-airtable:hover{ opacity:.9; }
.btn-airtable:active{ transform:translateY(1px); }

.flashes {
  list-style: none;
  padding: 10px;
  margin: 0 0 20px 0;
}
.flashes li {
  background: #2563eb;
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* Контейнер страницы диспутов */

/* Контейнер */
.disputes-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f8f9fc;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Заголовок */
.disputes-h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

/* Таблица */
.disputes-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    table-layout: fixed;
}

.disputes-table th,
.disputes-table td {
    border: 1px solid #dcdcdc;
    padding: 14px;
    text-align: center;
    word-wrap: break-word;
}

.disputes-thead {
    background-color: #2d74da;
    color: white;
    font-weight: 600;
}

.disputes-table tr:nth-child(even) {
    background-color: #f2f6fb;
}

/* Кнопка назад */
.disputes-back-btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #2d74da;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.disputes-back-btn:hover {
    background-color: #1a4eaa;
}

/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* _____________________________________________________________ */
/* Контейнер страницы линков */

.links-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f8f9fc;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.links-h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1a73e8;
    text-align: center;
}

.links-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    table-layout: auto;
}

.links-thead th {
    background-color: #1a73e8;
    color: white;
    padding: 12px;
    font-size: 14px;
    text-align: center;
}

.links-tbody td {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    word-break: break-word;
}

.links-tbody tr:nth-child(even) {
    background-color: #f1f5fb;
}

.links-back-btn {
    display: inline-block;
    margin-top: 25px;
    background-color: #1a73e8;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.links-back-btn:hover {
    background-color: #1558c0;
}

.links-td a {
    color: #0c5bd3;
    text-decoration: underline;
    font-weight: 500;
}

.links-td a:hover {
    color: #083d9c;
}

.links-action-btn {
    padding: 4px 8px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
}
.links-action-btn:hover {
    background-color: #0056b3;
}
