div#container
{
   width: 960px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #FFFFFF;
   color: #000000;
   font-family: Tahoma;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
#Image2
{
   border: 0px #000000 solid;
   padding: 0px 0px 0px 0px;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#wb_Text4 
{
   background-color: transparent;
   background-image: none;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text4 div
{
   text-align: left;
}
#Image14
{
   border: 0px #000000 solid;
   -moz-border-radius: 15px;
   -webkit-border-radius: 15px;
   border-radius: 15px;
   padding: 0px 0px 0px 0px;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Image10
{
   border: 0px #000000 solid;
   -moz-border-radius: 15px;
   -webkit-border-radius: 15px;
   border-radius: 15px;
   padding: 0px 0px 0px 0px;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Image3
{
   border: 0px #000000 solid;
   padding: 0px 0px 0px 0px;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #1a1a2e;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: auto;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex; 
  gap: 120px;
  min-width: 400px;
  margin-top: 0;
}

.form-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px 25px;
  border-radius: 30px 10px 30px 10px;
  width: 320px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
  color: white;
  position: relative;
  overflow: hidden;
  min-width: 335px;
}

.form-container::before {
  content: "SAMBO";
  position: absolute;
  top: 10px;
  right: -20px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  transform: rotate(15deg);
  pointer-events: none;
  font-family: 'Arial Black', sans-serif;
}

.form-container::after {
  content: "SAMBO";
  position: absolute;
  bottom: 10px;
  left: -20px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  transform: rotate(-10deg);
  pointer-events: none;
  font-family: 'Arial Black', sans-serif;
}

.form-container label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.form-container input[type="text"] {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 25px;
  border: none;
  border-radius: 20px;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.form-container input[type="text"]:focus {
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.form-container input[type="file"] {
  width: 100%;
  padding: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  color: white;
  transition: all 0.3s;
  font-weight: 500;
}

.form-container input[type="file"]:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: scale(1.02);
}

#imageScale {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  outline: none;
  flex: 1;
}

#imageScale::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#imageScale::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: none;
}

#preview {
  border: 1px solid #ccc;
  padding: 20px;
  width: 480px;
  height: 410px;
  position: relative;
  overflow: hidden;
}

.number-part {
  position: absolute;
  color: white;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  line-height: 1.5;
  text-transform: uppercase;
}

.upper-text {
  top: 20px;
  left: 0;
  right: 0;
  max-width: 420px;
  margin: 0 auto;
  font-family: 'Arial Narrow', 'Arial', sans-serif;
  font-size: 68px;
  font-weight: 600;
  letter-spacing: -1px;
  transform: scaleY(1.4) scaleX(1);
  transform-origin: left;
}

.bottom-text {
  bottom: 35px;
  left: 0;
  right: 0;
  max-width: 420px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 1px;
  transform: scaleY(1.4) scaleX(1);
  transform-origin: left;
  text-align: center;
}

.image-section {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 14px));
  left: 30px;
  right: 30px;
  height: 128px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@keyframes neonPulse {
    0% { box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 5px #e0ffff, 0 0 10px #e0ffff, 0 0 15px #e0ffff; }
    50% { box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 10px #e0ffff, 0 0 20px #e0ffff, 0 0 30px #e0ffff; }
    100% { box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 5px #e0ffff, 0 0 10px #e0ffff, 0 0 15px #e0ffff; }
}
#orderButton:hover { transform: scale(1.02); animation: none; box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 15px #e0ffff, 0 0 25px #e0ffff, 0 0 35px #e0ffff; text-shadow: 0 0 15px #ffffff, 0 0 25px #e0ffff, 0 0 35px #e0ffff; }
.size-option:hover { transform: translateY(-1px); background: rgba(255,255,255,0.35) !important; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.size-chart-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    animation: fadeIn 0.5s ease;
    text-align: center;
}

/* Заголовок таблицы - полностью непрозрачный */
.size-chart-title,
h1.size-chart-title,
h2.size-chart-title,
h3.size-chart-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 30px;
    background: rgba(102, 126, 234, 1);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.title-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

/* Стили для таблицы размеров */
.size-table-wrapper {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.size-table-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

/* Заголовки таблицы - серый темнее */
.size-table th {
    background: #cbd5e1;
    color: #1e293b;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-shadow: none;
}

.size-table td {
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    border-bottom: 1px solid #cbd5e1;
    color: #1e293b;
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: background 0.3s ease;
}

/* Цветные размеры - все в красных тонах */
.size-table .size-s {
    color: #ef4444;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(239,68,68,0.3);
}

.size-table .size-m {
    color: #dc143c;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(220,20,60,0.3);
}

.size-table .size-l {
    color: #ff0000;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(255,0,0,0.3);
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка назад в стиле 2-й вставки */
.back-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 5px #e0ffff, 0 0 10px #e0ffff, 0 0 15px #e0ffff;
    animation: neonPulseBtn 1.5s ease-in-out infinite;
    transition: all 0.25s ease;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #e0ffff, 0 0 30px #e0ffff;
}

.back-button:hover {
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 15px #e0ffff, 0 0 25px #e0ffff, 0 0 35px #e0ffff;
    text-decoration: none;
}

@keyframes neonPulseBtn {
    0% { box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 5px #e0ffff, 0 0 10px #e0ffff, 0 0 15px #e0ffff; }
    50% { box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 10px #e0ffff, 0 0 20px #e0ffff, 0 0 30px #e0ffff; }
    100% { box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 5px #e0ffff, 0 0 10px #e0ffff, 0 0 15px #e0ffff; }
}
