@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Hebrew&display=swap');

body, html {
    margin: 0;
    padding: 0 10px;
    direction: rtl;
    font-family: 'Open Sans Hebrew', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100%;
    text-align: right;
    background: #151c24;
}

h1 {
    font-size: 28px;
    color: #d563e8;
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
}

h2 {
    font-size: 22px;
    color: #00BCD4;
    text-align: center;
    margin: 25px 0;
}

h3 {
    font-size: 16px;
    color: #cccccc;
    margin: 30px 10px -10px 10px;
    text-align: right;
}

/* Контейнер */
.container {
    max-width: 420px;
    margin: 40px auto;
    background-color: #1a212b;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Поля ввода */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    font-family: 'Open Sans Hebrew', sans-serif;
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background-color: #1a212b;
    border: 2px solid;
    border-image-source: linear-gradient(45deg, #8d2fb5, #c32b9d);
    border-image-slice: 1;
    color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
}

/* Специально для textarea */
textarea {
    height: 160px;
}

/* Кнопки */
button,
.insertTextButton {
    background: linear-gradient(45deg, #00BCD4, #c32b9d);
    color: #fff;
    padding: 14px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-family: 'Open Sans Hebrew', sans-serif;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}

.insertTextButton {
    background: #888;
}

button:hover {
    background: linear-gradient(45deg, #00a5c1, #b2228c);
    transform: scale(1.02);
}

/* Доп. блоки */
.client-info,
.email-form,
.name,
.date,
.game {
    margin: 10px 0;
}

/* Таблица */
.template-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 13px;
}

.template-table td {
    padding: 6px;
    border: 1px solid transparent;
    text-align: right;
}

/* Статусы */
#successMessage {
    color: #00ff7f;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

#quest-room {
    font-family: 'Open Sans Hebrew', sans-serif;
    margin-top: 25px;
    text-align: center;
    font-weight: bold;
    color: #00BCD4;
}

/* Скрытие */
.hidden {
    display: none;
}

a {
    color: #00BCD4; /* кастомный бирюзовый цвет */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c32b9d; /* розовый при наведении */
    text-decoration: underline;
}


/* Медиа */
@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 24px;
    }

    input, button {
        font-size: 16px;
    }
}

p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

.form-group2 {
    margin-top: 20px;
}

.login-details,
.shared-details {
  border: 2px solid #ffffff;
  border-radius: 10px;
  padding: 0px 12px 0px;
  margin: 8px 0;
}

