/* Загрузка один (Создаем видео) */
.table {
  margin-top: 20px;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.table-header,
.table-row {
  display: table-row;
}

.table-cell {
  display: table-cell;
  border: 1px solid #000;
  padding: 8px;
  cursor: pointer;
}

.table-header {
  font-weight: bold;
  text-align: center;
}


.loading {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 15px auto;
  position: relative;
  color: #6ebeff;
  left: -100px;
  box-sizing: border-box;
  animation: shadowRolling 1.7s linear infinite;
}

@keyframes shadowRolling {
  0% {
    box-shadow: 0px 0 rgba(51, 122, 183, 0), 0px 0 rgba(51, 122, 183, 0),
      0px 0 rgba(51, 122, 183, 0), 0px 0 rgba(51, 122, 183, 0);
  }

  12% {
    box-shadow: 100px 0 #337ab7, 0px 0 rgba(51, 122, 183, 0),
      0px 0 rgba(51, 122, 183, 0), 0px 0 rgba(51, 122, 183, 0);
  }

  25% {
    box-shadow: 110px 0 #337ab7, 100px 0 #337ab7, 0px 0 rgba(51, 122, 183, 0),
      0px 0 rgba(51, 122, 183, 0);
  }

  36% {
    box-shadow: 120px 0 #337ab7, 110px 0 #337ab7, 100px 0 #337ab7,
      0px 0 rgba(51, 122, 183, 0);
  }

  50% {
    box-shadow: 130px 0 #337ab7, 120px 0 #337ab7, 110px 0 #337ab7,
      100px 0 #337ab7;
  }

  62% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 130px 0 #337ab7, 120px 0 #337ab7,
      110px 0 #337ab7;
  }

  75% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0),
      130px 0 #337ab7, 120px 0 #337ab7;
  }

  87% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0),
      200px 0 rgba(51, 122, 183, 0), 130px 0 #337ab7;
  }

  100% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0),
      200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0);
  }
}

/* Стилии для куков */

.cookie-banner {
  width: 70vh;
  max-width: 1000px;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  background: #121415;
  z-index: 1000;
  opacity: 1;
  font-size: 18px;
  color: #ddebf0;
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #757575;
}

.cookie-link {
  display: inline-flex;
  font-size: 18px;
  text-decoration: underline;
  margin-top: 0px;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .cookie-banner__text,
  .cookie-link,
  .cookie-accept {
    font-size: 0.65rem;
  }

  .cookie-banner {
    width: 35vh;
  }
}

/* Стили шаблон */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  height: 100vh;
  margin: 0;
  color: white;
  font-family: "Roboto", sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 2000px;
  animation: fadeIn 1s ease-in-out;
}

h2 {
  text-align: center;
  color: #e7eef4;
  margin-bottom: 20px;
}
h3 {
  text-align: center;
  color: #e7eef4;
  margin-bottom: 20px;
}
h4 {
  text-align: center;
  color: #e7eef4;
}

label {
  display: block;
  color: #e7eef4;
}

input {
  width: 100%;
  margin-bottom: 15px;
  border: none;
  outline: none;
  background: #17191a;
  color: #ddebf0;
  border-radius: 15px;
  padding: 12px 12px;
  box-sizing: border-box;
  transition: box-shadow 0.5s ease;
}

input:focus,
input:hover {
  box-shadow: 0 0 0 2px #0077cc;
}

input[type="checkbox"] {
  width: auto;
  margin-bottom: auto;
}

button {
  width: 100%;
  padding: 10px;
  color: #e7eef4;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  background: #3b5998;
  cursor: pointer;
  transition: box-shadow 0.5s ease;
}

button:hover {
  box-shadow: 0 0 0 2px #0077cc;
}

a {
  display: block;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #2b5c95;
  text-decoration: none;
}

a:hover {
  color: #4a90e2;
  text-decoration: underline;
}

.div_one_form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
    width: 35vh;
    margin-bottom: 50%;
  }

  h2 {
    font-size: 1.25rem;
  }
}
