      /* ===== БАЗОВЫЕ СТИЛИ ===== */

:root {
	--blue: #007bff;
	--indigo: #6610f2;
	--purple: #6f42c1;
	--pink: #e83e8c;
	--red: #dc3545;
	--orange: #fd7e14;
	--yellow: #ffc107;
	--green: #28a745;
	--teal: #20c997;
	--cyan: #17a2b8;
	--white: #fff;
	--gray: #6c757d;
	--gray-dark: #343a40;
	--primary: #78d5ef;
	--secondary: #6c757d;
	--success: #28a745;
	--info: #17a2b8;
	--bg-primary: #ffffff;
	--bg-secondary: #fff;
	--bg-card: #ffffff;
	--text-primary: #2c3e50;
	--text-secondary: #7f8c8d;
	--border-color: #e0e0e0;
	--shadow-color: rgba(0,0,0,0.1);
	--canvas-bg: #ffffff;
	--success-color: #28a745;
	--danger-color: #dc3545;
	--warning-color: #ffc107;
	--info-color: #007bff;
	--warning: #ffc107;
	--danger: #dc3545;
	--light: #f8f9fa;
	--dark: #343a40;
	--breakpoint-xs: 0;
	--breakpoint-sm: 576px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 992px;
	--breakpoint-xl: 1200px;
	--font-family-sans-serif: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
  }


.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px; }

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px; }

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%; }

.col-auto {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none; }

.col-1 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 8.33333%;
  flex: 0 0 8.33333%;
  max-width: 8.33333%; }

.col-2 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.66667%;
  flex: 0 0 16.66667%;
  max-width: 16.66667%; }

.col-3 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%; }

.col-4 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.33333%;
  flex: 0 0 33.33333%;
  max-width: 33.33333%; }

.col-5 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 41.66667%;
  flex: 0 0 41.66667%;
  max-width: 41.66667%; }

.col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%; }

.col-7 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 58.33333%;
  flex: 0 0 58.33333%;
  max-width: 58.33333%; }

.col-8 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 66.66667%;
  flex: 0 0 66.66667%;
  max-width: 66.66667%; }

.col-9 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%; }

.col-10 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 83.33333%;
  flex: 0 0 83.33333%;
  max-width: 83.33333%; }

.col-11 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 91.66667%;
  flex: 0 0 91.66667%;
  max-width: 91.66667%; }

.col-12 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%; }

@media (min-width: 576px) {
  .col-sm {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%; }
  .col-sm-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none; }
  .col-sm-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%; }
  .col-sm-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%; }
  .col-sm-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%; }
  .col-sm-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%; }
  .col-sm-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%; }
  .col-sm-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%; }
  .col-sm-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%; }
  .col-sm-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%; }
  .col-sm-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%; }
  .col-sm-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%; }
  .col-sm-11 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 91.66667%;
    flex: 0 0 91.66667%;
    max-width: 91.66667%; }
  .col-sm-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%; }
  .order-sm-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1; }
  .order-sm-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13; }
  .order-sm-0 {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0; }
  .order-sm-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1; }
  .order-sm-2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2; }
  .order-sm-3 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3; }
  .order-sm-4 {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4; }
  .order-sm-5 {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5; }
  .order-sm-6 {
    -webkit-box-ordinal-group: 7;
    -ms-flex-order: 6;
    order: 6; }
  .order-sm-7 {
    -webkit-box-ordinal-group: 8;
    -ms-flex-order: 7;
    order: 7; }
  .order-sm-8 {
    -webkit-box-ordinal-group: 9;
    -ms-flex-order: 8;
    order: 8; }
  .order-sm-9 {
    -webkit-box-ordinal-group: 10;
    -ms-flex-order: 9;
    order: 9; }
  .order-sm-10 {
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10; }
  .order-sm-11 {
    -webkit-box-ordinal-group: 12;
    -ms-flex-order: 11;
    order: 11; }
  .order-sm-12 {
    -webkit-box-ordinal-group: 13;
    -ms-flex-order: 12;
    order: 12; }
  .offset-sm-0 {
    margin-left: 0; }
  .offset-sm-1 {
    margin-left: 8.33333%; }
  .offset-sm-2 {
    margin-left: 16.66667%; }
  .offset-sm-3 {
    margin-left: 25%; }
  .offset-sm-4 {
    margin-left: 33.33333%; }
  .offset-sm-5 {
    margin-left: 41.66667%; }
  .offset-sm-6 {
    margin-left: 50%; }
  .offset-sm-7 {
    margin-left: 58.33333%; }
  .offset-sm-8 {
    margin-left: 66.66667%; }
  .offset-sm-9 {
    margin-left: 75%; }
  .offset-sm-10 {
    margin-left: 83.33333%; }
  .offset-sm-11 {
    margin-left: 91.66667%; } }

@media (min-width: 768px) {
  .col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%; }
  .col-md-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none; }
  .col-md-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%; }
  .col-md-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%; }
  .col-md-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%; }
  .col-md-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%; }
  .col-md-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%; }
  .col-md-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%; }
  .col-md-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%; }
  .col-md-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%; }
  .col-md-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%; }
  .col-md-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%; }
  .col-md-11 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 91.66667%;
    flex: 0 0 91.66667%;
    max-width: 91.66667%; }
  .col-md-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%; }
  .order-md-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1; }
  .order-md-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13; }
  .order-md-0 {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0; }
  .order-md-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1; }
  .order-md-2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2; }
  .order-md-3 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3; }
  .order-md-4 {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4; }
  .order-md-5 {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5; }
  .order-md-6 {
    -webkit-box-ordinal-group: 7;
    -ms-flex-order: 6;
    order: 6; }
  .order-md-7 {
    -webkit-box-ordinal-group: 8;
    -ms-flex-order: 7;
    order: 7; }
  .order-md-8 {
    -webkit-box-ordinal-group: 9;
    -ms-flex-order: 8;
    order: 8; }
  .order-md-9 {
    -webkit-box-ordinal-group: 10;
    -ms-flex-order: 9;
    order: 9; }
  .order-md-10 {
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10; }
  .order-md-11 {
    -webkit-box-ordinal-group: 12;
    -ms-flex-order: 11;
    order: 11; }
  .order-md-12 {
    -webkit-box-ordinal-group: 13;
    -ms-flex-order: 12;
    order: 12; }
  .offset-md-0 {
    margin-left: 0; }
  .offset-md-1 {
    margin-left: 8.33333%; }
  .offset-md-2 {
    margin-left: 16.66667%; }
  .offset-md-3 {
    margin-left: 25%; }
  .offset-md-4 {
    margin-left: 33.33333%; }
  .offset-md-5 {
    margin-left: 41.66667%; }
  .offset-md-6 {
    margin-left: 50%; }
  .offset-md-7 {
    margin-left: 58.33333%; }
  .offset-md-8 {
    margin-left: 66.66667%; }
  .offset-md-9 {
    margin-left: 75%; }
  .offset-md-10 {
    margin-left: 83.33333%; }
  .offset-md-11 {
    margin-left: 91.66667%; } }

@media (min-width: 992px) {
  .col-lg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%; }
  .col-lg-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none; }
  .col-lg-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%; }
  .col-lg-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%; }
  .col-lg-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%; }
  .col-lg-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%; }
  .col-lg-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%; }
  .col-lg-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%; }
  .col-lg-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%; }
  .col-lg-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%; }
  .col-lg-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%; }
  .col-lg-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%; }
  .col-lg-11 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 91.66667%;
    flex: 0 0 91.66667%;
    max-width: 91.66667%; }
  .col-lg-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%; }
  .order-lg-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1; }
  .order-lg-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13; }
  .order-lg-0 {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0; }
  .order-lg-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1; }
  .order-lg-2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2; }
  .order-lg-3 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3; }
  .order-lg-4 {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4; }
  .order-lg-5 {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5; }
  .order-lg-6 {
    -webkit-box-ordinal-group: 7;
    -ms-flex-order: 6;
    order: 6; }
  .order-lg-7 {
    -webkit-box-ordinal-group: 8;
    -ms-flex-order: 7;
    order: 7; }
  .order-lg-8 {
    -webkit-box-ordinal-group: 9;
    -ms-flex-order: 8;
    order: 8; }
  .order-lg-9 {
    -webkit-box-ordinal-group: 10;
    -ms-flex-order: 9;
    order: 9; }
  .order-lg-10 {
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10; }
  .order-lg-11 {
    -webkit-box-ordinal-group: 12;
    -ms-flex-order: 11;
    order: 11; }
  .order-lg-12 {
    -webkit-box-ordinal-group: 13;
    -ms-flex-order: 12;
    order: 12; }
  .offset-lg-0 {
    margin-left: 0; }
  .offset-lg-1 {
    margin-left: 8.33333%; }
  .offset-lg-2 {
    margin-left: 16.66667%; }
  .offset-lg-3 {
    margin-left: 25%; }
  .offset-lg-4 {
    margin-left: 33.33333%; }
  .offset-lg-5 {
    margin-left: 41.66667%; }
  .offset-lg-6 {
    margin-left: 50%; }
  .offset-lg-7 {
    margin-left: 58.33333%; }
  .offset-lg-8 {
    margin-left: 66.66667%; }
  .offset-lg-9 {
    margin-left: 75%; }
  .offset-lg-10 {
    margin-left: 83.33333%; }
  .offset-lg-11 {
    margin-left: 91.66667%; } }

@media (min-width: 1200px) {
  .col-xl {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%; }
  .col-xl-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none; }
  .col-xl-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%; }
  .col-xl-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%; }
  .col-xl-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%; }
  .col-xl-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%; }
  .col-xl-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%; }
  .col-xl-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%; }
  .col-xl-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%; }
  .col-xl-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%; }
  .col-xl-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%; }
  .col-xl-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%; }
  .col-xl-11 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 91.66667%;
    flex: 0 0 91.66667%;
    max-width: 91.66667%; }
  .col-xl-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%; }
  .order-xl-first {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1; }
  .order-xl-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13; }
  .order-xl-0 {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0; }
  .order-xl-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1; }
  .order-xl-2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2; }
  .order-xl-3 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3; }
  .order-xl-4 {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4; }
  .order-xl-5 {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5; }
  .order-xl-6 {
    -webkit-box-ordinal-group: 7;
    -ms-flex-order: 6;
    order: 6; }
  .order-xl-7 {
    -webkit-box-ordinal-group: 8;
    -ms-flex-order: 7;
    order: 7; }
  .order-xl-8 {
    -webkit-box-ordinal-group: 9;
    -ms-flex-order: 8;
    order: 8; }
  .order-xl-9 {
    -webkit-box-ordinal-group: 10;
    -ms-flex-order: 9;
    order: 9; }
  .order-xl-10 {
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10; }
  .order-xl-11 {
    -webkit-box-ordinal-group: 12;
    -ms-flex-order: 11;
    order: 11; }
  .order-xl-12 {
    -webkit-box-ordinal-group: 13;
    -ms-flex-order: 12;
    order: 12; }
  .offset-xl-0 {
    margin-left: 0; }
  .offset-xl-1 {
    margin-left: 8.33333%; }
  .offset-xl-2 {
    margin-left: 16.66667%; }
  .offset-xl-3 {
    margin-left: 25%; }
  .offset-xl-4 {
    margin-left: 33.33333%; }
  .offset-xl-5 {
    margin-left: 41.66667%; }
  .offset-xl-6 {
    margin-left: 50%; }
  .offset-xl-7 {
    margin-left: 58.33333%; }
  .offset-xl-8 {
    margin-left: 66.66667%; }
  .offset-xl-9 {
    margin-left: 75%; }
  .offset-xl-10 {
    margin-left: 83.33333%; }
  .offset-xl-11 {
    margin-left: 91.66667%; } }
h5 {
    line-height: 2.4;
    font-size: 2.1rem;
    margin: 0;
    color: #087ef9;
    font-weight: 700;
    font-family: "Josefin Sans", Arial, sans-serif;
}
.mstat-section .mstat-sub-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .5em;
  color: #d4d4d4;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300; }

.mstat-section .mstat-primary-title {
  margin-top: 0;
  margin-bottom: 30px; }

.about-author .desc h3 {
  font-size: 24px; }

.mstat-footer {
  font-size: 16px;
  padding-top: 4em;
    padding-bottom: 1px;
    background: #0325ad; }
  .mstat-footer .mstat-footer-logo {
    text-transform: uppercase;
    letter-spacing: .1em; }
  .mstat-footer .mstat-footer-widget h2 {
    font-weight: normal;
    color: #fff;
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px; }
  .mstat-footer .mstat-footer-widget ul li a span {
    color: #fff; }
  .mstat-footer .mstat-footer-widget .btn-primary {
    background: #fff !important;
    border: 2px solid #fff !important; }
    .mstat-footer .mstat-footer-widget .btn-primary:hover {
      background: #fff;
      border: 2px solid #fff !important; }
  .mstat-footer p {
    color: rgba(255, 255, 255, 0.7); }
  .mstat-footer a {
    color: rgba(255, 255, 255, 0.7); }
    .mstat-footer a:hover {
      color: #fff; }
  .mstat-footer .mstat-heading-2 {
    font-size: 17px;
    font-weight: 400;
    color: #fff; }
  .mstat-footer .block-21 .text .heading {
    font-size: 16px;
    font-weight: 300; }
    .mstat-footer .block-21 .text .heading a {
      color: rgba(255, 255, 255, 0.9); }
      .mstat-footer .block-21 .text .heading a:hover, .mstat-footer .block-21 .text .heading a:active, .mstat-footer .block-21 .text .heading a:focus {
        color: #c49b63; }
  .mstat-footer .block-21 .text .meta > div {
    display: inline-block;
    font-size: 12px;
    margin-right: 5px; }
    .mstat-footer .block-21 .text .meta > div a {
      color: gray; }

.mstat-footer-social li {
  list-style: none;
  margin: 0 10px 0 0;
  display: inline-block; }
  .mstat-footer-social li a {
    height: 50px;
    width: 50px;
    display: block;
    float: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative; }
    .mstat-footer-social li a span {
      position: absolute;
      font-size: 26px;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%); }
    .mstat-footer-social li a:hover {
      color: #fff; }

#box1 {
  height: 400px;
  width: 100%; }
  @media (max-width: 991.98px) {
    #box {
      height: 300px; } }


.mstat-counter {
  padding: 7em 0; }
  @media (max-width: 1199.98px) {
    .mstat-counter {
      background-position: center center !important; } }
  .mstat-counter .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 20px;
    z-index: 0; }
    .mstat-counter .icon:after {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      content: '';
      bordeR: 1px solid #c49b63;
      z-index: -1;
      -moz-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      transition: all 0.3s ease; }
    .mstat-counter .icon span {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      color: #c49b63; }
  .mstat-counter .text strong.number {
    font-weight: 400;
    font-size: 30px;
    color: #c49b63; }
  .mstat-counter .text span {
    font-weight: 400;
    font-size: 14px; }
  .mstat-counter .text:hover .icon span, .mstat-counter .text:focus .icon span {
    color: #000; }
  .mstat-counter .text:hover .icon:after, .mstat-counter .text:focus .icon:after {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    background: #c49b63; }
  @media (max-width: 991.98px) {
    .mstat-counter .counter-wrap {
      margin-bottom: 40px !important; } }
  .mstat-counter .mstat-number {
    display: block;
    color: #fff; }
  .mstat-counter .mstat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em; }
.logo-stat {
	background-image: url("http://insideaction.ru/assets/img/img/logo-section.png");
	width: 300px;
    height: 110px;
    padding: 0 .5em;
    line-height: 2;
    margin-right: .7rem;
    margin-top: .5rem;
    margin-bottom: .9rem;
	border-bottom: 2px solid blue;
}
.logo-section {
	background-image: url("http://insideaction.ru/assets/img/img/logo-section.png");
	width: 150px;
	height:54px;
    padding: 0 .5em;
    line-height: 2;
    margin-right: .7rem;
    margin-top: .5rem;
    margin-bottom: .9rem;
	border-bottom: 2px solid blue;
}

.types {
    background-color: #03f;
    color: #fff;
    display: inline-block;
    padding: 0 .5em;
    line-height: 2;
    font-size: .875rem;
    font-family: Arial,Helvetica,sans-serif;
    text-transform: uppercase;
    margin-right: .7rem;
    margin-top: .5rem;
    margin-bottom: .9rem;
}
.types-sm {
    background-color: #03f;
    color: #fff;
    display: inline-block;
    padding: 0 .5em;
    line-height: 2;
	font-weight: 700;
    font-size: .595rem;
    font-family: Arial,Helvetica,sans-serif;
    text-transform: uppercase;
    margin-right: .7rem;
    margin-top: .5rem;
    margin-bottom: .9rem;
}
.tablehead {
 border: solid 2px #087ef9;	
 background-color: #0630d6;
 color: white;
 text-align: center;
}
.matchinfo {
    background-color: #03f;
    color: white;
    text-align: center;
    border: solid 2px #087ef9;
}
.squad {
    background-color: #03f;
    color: white;
    text-align: center;
    border: solid 2px #087ef9;
}
.squadM {
    background-color: white;
    color: #022096;
    text-align: center;
    border: solid 2px #087ef9;
}

#box1, #box2, #box3, #box4, #box5, #box6, #box7,#box10, #box11,#box12, #box13,#box14,#box15,#box17 {
  background-image: url("http://insideaction.ru/assets/img/img/oldtraford-field.jpg");
  width: 200px;
  height: 300px;
 }

#box18 {
  background-image: url("http://insideaction.ru/assets/img/img/3d_half_pitch.png");
  width: 400px;
  height: 188px;
 }
#box16 {
  background-image: url("../img/off_side.jpg");
  width: 400px;
  height: 267px;
 }
 #goalbox1, #goalbox2 {
  background-image: url("http://insideaction.ru/assets/img/img/goalbox.jpg");
  width: 300px;
  height: 121px;
 }

 #canvas-field-std {
  background-image: url("../img/half_field.jpg");
  width: 400px;
  height: 300px;
  z-index: -1;
 }
 #canvas-pitch, #heat-mapA, #heat-mapB{
  background-image: url("http://insideaction.ru/assets/img/img/field.jpg");
  width: 200px;
  height: 300px;
  z-index: -1;
 }
 #canvas-mstat-field{
  background-image: url("../img/xG_pitch.jpg");
  width: 400px;
  height: 600px;
  z-index: -1;
 }
 #canvas-goalbox, #canvas-goalbox3 {
  background-image: url("http://insideaction.ru/assets/img/img/goalbox.jpg");
  width: 300px;
  height: 121px;
  z-index: -1;
 }
#canvas-goaleStats {
  background-image: url("http://insideaction.ru/assets/img/img/goalbox.jpg"); 
  width: 300px;
  height: 121px;
  z-index: -1;
 }
 
  .rating .stars {
  position: relative;
  display: block;
  float: left;
  height: 20px;
  width: 105px;
  background-image: url("../img/stars1.png");
  background-position: 0 0;
  background-repeat: repeat-x;
  margin-right: 5px;
}
.rating .stars .on {
  height: 20px;
  background-image: url("../img/stars1.png");
  background-position: 0 -20px;
}
.rating .stars .live {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.rating .stars .live span {
  display: block;
  float: left;
  cursor: pointer;
  width: 21px;
  height: 20px;
  background-image: url("../img/stars1.png");
  background-repeat: no-repeat;
  background-position: 0 -20px;
}
.rating .stars .live span:hover ~ span {
  background-position: 0 0px;
}
.rating .stars .live:hover {
  opacity: 1;
}


.text_h13 {
	font-size: 0.75em; 
	 font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: #60688b;
	line-height: 2;
	font-weight: 700;
	margin-left: .1rem;
	text-transform: uppercase;
}
#tackleschart dt{
	font-weight:600;
	font-size: 0.9em;
	text-align:right;
}
#tackleschart dd{
	width:250px;
	background: #c3c2c2;
	border-radius: 0 9px 9px 0;
	float:left;
	display:inline;
}
#tackleschart dd span{
	color:#fff;
  	font-size: 0.9em;
	background:#087ef9;
	border-radius: 0 9px 9px 0;
	text-align:center;
	display:block;
}
#touches_tab dt{
	font-weight:600;
	font-size: 0.9em;
	text-align:right;
}
#touches_tab dd{
	width:250px;
	background: #c3c2c2;
	border-radius: 0 9px 9px 0;
	float:left;
	display:inline;
}
#touches_tab dd span{
	color:#fff;
  	font-size: 0.9em;
	background:#087ef9;
	border-radius: 0 9px 9px 0;
	text-align:center;
	display:block;
}
.ballPossesionchart {
	margin: 0 auto;
}
#ballPossesionchart dt{
	font-weight:600;
	font-size: 0.9em;
	text-align:right;
}
#ballPossesionchart dd{
	width:250px;
	background: #c3c2c2;
	border-radius: 0 9px 9px 0;
	float:left;
	display:inline;
}
#ballPossesionchart ddleft{
	width:250px;
	background: #c3c2c2;
	border-radius: 9px 0 0 9px;
		float:right;
	display:inline;
}
#ballPossesionchart dd span{
	color:#fff;
  	font-size: 0.9em;
	background:#087ef9;
	border-radius: 0 9px 9px 0;
	text-align:center;
	display:block;
}
#ballPossesionchart ddleft span{
	color:#fff;
  	font-size: 0.9em;
	background:#087ef9;
	border-radius: 9px 0 0 9px;
	text-align:center;
	float:right;
	display:block;
}
#driblechart dt, #challengeschart dt, #kickchart dt{
	font-weight:600;
	font-size: 0.9em;
	text-align:right;
}
#driblechart dd,  #challengeschart dd,  #kickchart dd{
	width:250px;
	background: #c3c2c2;
	border-radius: 0 9px 9px 0;
	float:left;
	display:inline;
}
#driblechart dd span, #challengeschart dd span, #kickchart dd span{
	color:#fff;
  	font-size: 0.9em;
	background:#087ef9;
	border-radius: 0 9px 9px 0;
	text-align:center;
	display:block;
}

.progress {
  position: relative;
  width: 300px;
  height: 10px;
  overflow: hidden;
  background: #ff3232;
  background: linear-gradient(to right, #03229a 0%,#087ef9 33%,#08c1f9 66%,#03eaf5 100%);
}

.string {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, transparent 0%, transparent 50%, #fff 50%, #fff 100%);
  background-size: 6px 100%; /* Ширина деления = 6px / 2 = 3px */
}

.line {
  position: relative;
  /*left: 100%; /* Текущее состояние */
  width: 100%;
  height: 100%;
  background-color: #ddd;
}
.d15 {
	width: 20px; 
	/*height: calc(100% /2);*/
	background: #0033ff99;
	position: relative;
	top: 80px;
	left: 20px;
	display: inline-block;
	
}

.d15:after {
	content: "";
	width: 0;
    height: 0;
    position: absolute;
    top: -35px;
    right: -5px;
    border-width: 20px 0 20px 30px;
    border-style: solid;
    border-color: transparent #0033ff99;
    transform: rotate(-90deg);
}
.d16 {
	width: 20px; 
	/*height: calc(10% /2);*/
	background: #0033ff99;
	position: relative;
	top: 80px;
	left: 67px;
	display: inline-block;
	
}

.d16:after {
	content: "";
	width: 0;
    height: 0;
    position: absolute;
    top: -35px;
    right: -5px;
    border-width: 20px 0 20px 30px;
    border-style: solid;
    border-color: transparent #0033ff99;
    transform: rotate(-90deg);
}
.d17 {
	width: 20px; 
	/*height: calc(36% /2); */
	background: #0033ff99;
	position: relative;
    top: 80px;
	left: 113px;
	display: inline-block;
	
}

.d17:after {
	content: "";
	width: 0;
    height: 0;
    position: absolute;
    top: -35px;
    right: -5px;
    border-width: 20px 0 20px 30px;
    border-style: solid;
    border-color: transparent #0033ff99;
    transform: rotate(-90deg);
}

/*Arrow Down */
.d18 {
	width: 20px; 
	/*height: calc(100% /2);*/
	vertical-align: top;
	background: #0033ff99;
	position: relative;
    margin-top: 152px;
	left: 20px;
	display: inline-block;
	
}

.d18:after {
	content: "";
	width: 0;
    height: 0;
    position: absolute;
    bottom: -35px;
    right: -5px;
    border-width: 20px 0 20px 30px;
    border-style: solid;
    border-color: transparent #0033ff99;
    transform: rotate(90deg);
}
.d19 {
	width: 20px; 
	/*height: calc(10% /2);*/
	vertical-align: top;
	background: #0033ff99;
	position: relative;
    margin-top: 152px;
	left: 67px;
	display: inline-block;
	
}

.d19:after {
	content: "";
	width: 0;
    height: 0;
    position: absolute;
    bottom: -35px;
    right: -5px;
    border-width: 20px 0 20px 30px;
    border-style: solid;
    border-color: transparent #0033ff99;
    transform: rotate(90deg);
}
.d20 {
	width: 20px; 
	/*height: calc(36% /2); */
	vertical-align: top;	
	background: #0033ff99;
	position: relative;
    margin-top: 152px;
	left: 113px;
	display: inline-block;
	
}

.d20:after {
	content: "";
	width: 0;
    height: 0;
    position: absolute;
    bottom: -35px;
    right: -5px;
    border-width: 20px 0 20px 30px;
    border-style: solid;
    border-color: transparent #0033ff99;
    transform: rotate(90deg);
}
.pitch {
  background-image: url("../img/field.jpg");
  width: 200px;
  height: 300px;
  z-index: -1;
 }
 .pitch_cover {
  width: 180px;
  height: 200px;
  z-index: -1;
  display: inline-block;
 }
  .pitch_cover2 {
  width: 200px;
  height: 300px;
  z-index: -1;
  display: inline-block;
 }
 .pitch-zone {
  background-image: url("../img/field-zone.jpg");
  width: 200px;
  height: 300px;
  z-index: -1;
 }
.squad tbody tr:hover {
  background-color: #08f1f9ad;
}

td:hover::after,
th:hover::after {
  background-color: #08f1f9ad;
}
td:hover::after,
thead th:hover::after,
td:focus::after,
thead th:focus::after { 
  content: '';  
  height: 10000px;
  left: 0;
  position: absolute;  
  top: -5000px;
  width: 100%;
  z-index: -1;
}

.line-1 {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #022096;
}
.line-2 {
  position: relative;
  width: 100%;
  height: 0.8px;
  background-color: #022096;
}
.pers-num-tb {
    font-size: 15px;
    font-weight: 600;
    font-family: "Josefin Sans", Arial, sans-serif;
	line-height: 1.2;
}
.personal-n-tb {
    font-weight: 600;
    line-height: 1;
    font-size: 14px;
}
.personal-stats {
    font-weight: 600;
    line-height: 1;
    font-size: 14px;
}
.personal-stats-r {
    font-weight: 400;
    font-size: 14px;
}
.colum-title{
    font-weight: 600;
    line-height: 1.3;
    font-size: 11px;
	color: #7c7c86;
}
.pers-photo{
  background-image: url("../img/pers-photo-sm.png");
  background-repeat: no-repeat;
  width: 100px;
  height: 65px;
 }
 .mstat-index{
  background-image: url("../img/mstatIndex2.png");
  background-repeat: no-repeat;
  width: 100%;
  height: 50px;
 }
 .mstat-info{
  background-image: url("../img/information.png");
  background-repeat: no-repeat;
  width: 100%;
  height: 52px;
 }
  .mstat-array-info{
  background-image: url("../img/array_info.png");
  background-repeat: no-repeat;
  width: 100%;
  height: 52px;
 }
 .mstat-index h2 {
    color: #7c7c86;
	font-family: "Mont", Mont, sans-serif;
    font-weight: 600;
    line-height: 1;
    font-size: 3.5rem;
    left: 150px;
    position: absolute;
}
hr {
    background-image: linear-gradient(to right, transparent, rgb(4 32 247 / 20%), transparent);
    border: 0;
    height: 5px;
    margin: 22px 0 22px 0;
    box-sizing: content-box;
    display: block;
}

        .goalecontainer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        /* Контейнер для круговой диаграммы */
        .chart-wrapper {
            position: relative;
            width: 150px;
            height: 150px;
        }

        .bg-ring {
            fill: none;
            stroke: #2d3436;
            stroke-width: 8;
        }

        .progress-ring {
            fill: none;
            stroke-width: 8;
            stroke-linecap: round;
            transition: stroke-dashoffset 1.5s ease-in-out;
        }

        /* Футбольный мяч в центре */
        .football {
            position: absolute;
            
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 64px;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
            z-index: 10;
        }

        /* Бейдж с сейвами */
        .saves-badge {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #edfbfd;
            color: #087ef9;
            padding: 3px 3px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: bold;
            box-shadow: 0 2px 8px rgba(8, 126, 249, 1);
            z-index: 11;
            white-space: nowrap;
        }

      /* ===== ТЕМНАЯ ТЕМА ===== */
      [data-theme="dark"] {
        --bg-primary: #1a1a2e;
        --bg-secondary: #16213e;
        --bg-card: #1e2a4a;
        --text-primary: #2c3e50;
        --text-secondary: #a0a0b0;
        --border-color: #2a3a5a;
        --shadow-color: rgba(0,0,0,0.4);
        --canvas-bg: #1a1a2e;
      }

      /* ===== ОБЩИЕ СТИЛИ ===== */

      .header { 
        display:flex; 
        justify-content:space-between; 
        align-items:center; 
        margin-bottom:15px; 
        flex-wrap:wrap;
        gap:10px;
      }
      
      .title { 
        font-size:20px; 
        font-weight:bold; 
      }
      
	.subtitle {
		font-size: 12px;
		color: var(--text-secondary);
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 0 .5em;
		line-height: 2;
		margin: .5rem .7rem .9rem 0;
		min-height: 54px;
		flex-wrap: wrap;
	}

	.subtitle-text {
		flex: 1;
		min-width: 100px;
		font-size: 1.2em;
		font-weight: 500;
	}

	.subtitle-logo {
		flex-shrink: 0;
		width: 90px;
		height: 54px;
		background-image: url("http://insideaction.ru/assets/img/img/logo-section.png");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: right;
	}

	@media (max-width: 480px) {
		.subtitle {
			flex-direction: column;
			align-items: flex-start;
		}
		.subtitle-logo {
			width: 100%;
			max-width: 150px;
			background-position: left center;
		}
	}     
	.phase-labels { 
        display:flex; 
        justify-content:space-around; 
        margin-top:10px; 
        font-size:12px; 
        color: var(--text-secondary); 
        font-weight:bold; 
      }
      
      .legend { 
        display:flex; 
        justify-content:center; 
        gap:20px; 
        margin-top:15px; 
        font-size:12px; 
        flex-wrap:wrap; 
      }
      
      .legend-item { 
        display:flex; 
        align-items:center; 
        gap:6px; 
      }
      
      .legend-line { 
        width:24px; 
        height:3px; 
        border-radius:2px; 
      }
      
      .legend-ball { 
        width:14px; 
        height:14px; 
        border-radius:50%; 
        background:var(--bg-card); 
        border:1.5px solid var(--text-primary); 
      }
      
      .stats-panel { 
        display:flex; 
        justify-content:space-around; 
        margin-top:20px; 
        padding:15px; 
        background:var(--bg-secondary); 
        border-radius:8px; 
        flex-wrap:wrap; 
        gap:10px; 
        border: 1px solid var(--border-color);
      }
     
      .stat-label { 
        font-size:11px; 
        color: var(--text-secondary); 
        text-transform:uppercase; 
      }
      
      .stat-value { 
        font-size:22px; 
        font-weight:bold; 
        margin-top:4px; 
      }

      .stat-value[style*="color:#e74c3c"] { color: #e74c3c !important; }
      .stat-value[style*="color:#8e44ad"] { color: #8e44ad !important; }
      
      .container-main { 
        max-width:1450px; 
        margin:0 auto; 
        padding:0 15px; 
      }
      
      .row { 
        display:flex; 
        flex-wrap:wrap; 
        margin:0 -15px; 
      }
      
      .col-6 { flex:0 0 50%; max-width:50%; padding:0 15px; box-sizing:border-box; }
      .col-md-12 { flex:0 0 100%; max-width:100%; padding:0 15px; box-sizing:border-box; }
      .col-1.5 { flex:0 0 12.5%; max-width:12.5%; padding:0 15px; box-sizing:border-box; }
      .col-3 { flex:0 0 25%; max-width:25%; padding:0 15px; box-sizing:border-box; }
      .col-sm-12 { flex:0 0 100%; max-width:100%; padding:0 15px; box-sizing:border-box; }
      .col-md-5 { flex:0 0 41.666%; max-width:41.666%; padding:0 15px; box-sizing:border-box; }
      .col-md-4 { flex:0 0 33.333%; max-width:33.333%; padding:0 15px; box-sizing:border-box; }
      .col-12 { flex:0 0 100%; max-width:100%; padding:0 15px; box-sizing:border-box; }
      
      .button { 
        padding:5px 12px; 
        background:var(--danger-color); 
        color:white; 
        border:none; 
        border-radius:4px; 
        cursor:pointer; 
        transition: background 0.2s;
      }
      
      .button:hover { background:#c82333; }
      .mstat-section { padding:20px 0; }
      .mstat-footer { padding:20px 0; text-align:center; }

      /* ===== ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ ===== */
      .theme-switch-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .theme-switch {
        position: relative;
        width: 60px;
        height: 30px;
        flex-shrink: 0;
      }

      .theme-switch input {
        opacity: 0;
        width: 0;
        height: 0;
      }

      .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        border-radius: 34px;
        transition: .3s;
      }

      .slider:before {
        position: absolute;
        content: "☀️";
        display: flex;
        align-items: center;
        justify-content: center;
        height: 24px;
        width: 24px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: .3s;
        font-size: 14px;
      }

      .theme-switch input:checked + .slider {
        background-color: #2c3e7a;
      }

      .theme-switch input:checked + .slider:before {
        transform: translateX(30px);
        content: "🌙";
      }

      .theme-icon {
        font-size: 18px;
        color: var(--text-secondary);
      }

      /* ===== КАРТОЧКИ ===== */
      .control-panel {
        background: var(--bg-secondary);
        padding: 15px;
        border-radius: 8px;
        margin: 20px 0;
        border: 1px solid var(--border-color);
      }

      .info-box {
        padding: 10px;
        background: var(--bg-card);
        border-radius: 6px;
        border: 2px solid var(--info-color);
        color: var(--text-primary);
        min-width: 120px;
		height: -webkit-fill-available;
      }

      .info-box-timer { border-color: var(--info-color); }
      .info-box-team { border-color: var(--success-color); }
      .info-box-opponent { border-color: var(--danger-color); }
      .info-box-save { border-color: var(--warning-color); }

      .info-box .label {
        font-size: 14px;
        color: var(--text-secondary);
      }

      .info-box .value {
        font-size: 24px;
        font-weight: bold;
      }

      .btn {
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: opacity 0.2s;
        color: white;
        font-size: 14px;
      }

      .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .btn-start { background: var(--success-color); }
      .btn-pause { background: var(--warning-color); color: black; }
      .btn-reset { background: black; color: white; }
      .btn-finish { background: var(--danger-color); }
      .btn-save { background: var(--info-color); }
      .btn-export { background: #6c757d; }
      .btn-export-csv { background: #17a2b8; }
      .btn-clear { background: var(--danger-color); }

      .btn-group {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
      }

      /* ===== АДАПТИВНОСТЬ ===== */
      @media (max-width:768px) {
	    .col-2 { flex:0 0 100%; max-width:100%; display:npne; }
        .col-6 { flex:0 0 100%; max-width:100%; }
		.col-8 { flex:0 0 100%; max-width:100%; }
        .col-1.5 { flex:0 0 25%; max-width:25%; }
        .col-3 { flex:0 0 50%; max-width:50%; }
        .col-md-5 { flex:0 0 100%; max-width:100%; }
        .col-md-4 { flex:0 0 100%; max-width:100%; }
        .theme-switch-wrapper { margin-left: 0; }
        .header { flex-wrap: wrap; gap: 10px; }
        .control-panel .row > div { flex-direction: column; }
        .btn-group { width: 100%; justify-content: center; }
      }

      /* ===== СТАТИСТИКА В КАНВАСАХ ===== */
      .stats-container {
        margin-top: 8px;
        font-size: 12px;
        padding: 6px;
        background: var(--bg-secondary);
        border-radius: 4px;
        color: var(--text-primary);
        border: 1px solid var(--border-color);
      }

      .mode-selector {
        margin: 10px 0;
        padding: 8px;
        background: var(--bg-secondary);
        border-radius: 6px;
        font-size: 12px;
        border: 1px solid var(--border-color);
      }

      .mode-selector label {
        cursor: pointer;
        display: inline-block;
        margin: 2px 6px;
        color: var(--text-primary);
      }

      .shot-type-selector {
        margin: 10px 0;
        padding: 8px;
        background: var(--bg-secondary);
        border-radius: 6px;
        font-size: 12px;
        border: 1px solid var(--border-color);
      }

      .shot-type-selector label {
        display: block;
        margin: 4px 0;
        cursor: pointer;
        color: var(--text-primary);
      }

      /* ===== УВЕДОМЛЕНИЯ ===== */
      .toast {
        position: fixed;
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        border-radius: 8px;
        color: white;
        font-weight: bold;
        z-index: 9999;
        animation: slideIn 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      }

      .toast-success { background: var(--success-color); }
      .toast-error { background: var(--danger-color); }
      .toast-info { background: var(--info-color); }
      .toast-warning { background: var(--warning-color); color: black; }

      @keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
      }

      .toast.hide {
        animation: slideOut 0.3s ease forwards;
      }

      @keyframes slideOut {
        from { transform: translateX(0); opacity: 1; }
        to { transform: translateX(100%); opacity: 0; }
      }

      /* ===== БЭДЖ СТАТУСА СОХРАНЕНИЯ ===== */
      .save-status {
        font-size: 12px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 6px;
      }
		.status-badge {
		background: #333;
		padding: 6px 12px;
		border-radius: 20px;
		font-size: 13px;
		}
		.save-status .dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		display: inline-block;
		}

      .save-status .dot.saved { background: var(--success-color); }
      .save-status .dot.saving { background: var(--warning-color); animation: pulse 0.5s infinite; }
      .save-status .dot.error { background: var(--danger-color); }

      @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
      }
	.statsContainer {
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .statBarWrap1 {
    margin-bottom: 20px;
    width: 100%;
  }
  
  .statInfo_line[data-space] {
    align-items: center;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    justify-content: space-between;
    line-height: 1.4;
    margin-bottom: 8px;
    margin-top: 8px;
  }
  
  .score_line {
    color: #000;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
  }
  
  .statBar_line[data-space] {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    height: 8px;
    width: 100%;
  }
  
  .homeLine_1[data-space], .awayLine_2[data-space] {
    justify-self: stretch;
  }
  
  .trackLine_bg[data-space] {
    background-color: #e8e8e8;
    border-radius: 16px;
    height: 8px;
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .statsLine[data-space] {
    border-radius: 16px;
    display: block;
    height: 100%;
    position: relative;
    transition: width 0.3s ease;
  }
  
  .homeLine[data-space] {
    margin-left: auto;
    background-color: #e74c3c;
    opacity: 0.8;
  }
  
  .awayLine[data-space] {
    margin-right: auto;
    background-color: #8e44ad;
    opacity: 0.8;
  }
  .gameScore[data-space]{
    align-items: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.statusScore[data-space] {
    color: var(--text-secondary);
    font-size: 0.9em;
}
.score1[data-space] {
    color: var(--text-primary);
    font-size: 5rem;
    font-weight: 600;
    line-height: 40px;
	display: inline-flex;
}
.score2[data-space] {
    color: var(--text-primary);
    font-size: 5rem;
    font-weight: 600;
    line-height: 40px;
	display: inline-flex;
}
.scoreDot[data-space] {
    color: var(--text-primary);
    font-size: 5rem;
    font-weight: 600;
    line-height: 40px;
	display: inline-flex;
}
       /* ===== СТИЛИ ДЛЯ КОМАНД ===== */
        .team-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .team_title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            text-align: center;
            margin-bottom: 8px;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .team_title_logoA,
        .team_title_logoB {
            flex-shrink: 0;
            width: 100px;
            height: 100px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin: 0 auto;
            border-radius: 12px;
            background-color: var(--bg-secondary);
            transition: all 0.3s ease;
        }

        .team_title_logoA {
            background-image: url("http://insideaction.ru/assets/img/img/TeamA_logo.png");
        }

        .team_title_logoB {
            background-image: url("http://insideaction.ru/assets/img/img/TeamB_logo.png");
        }

        .team_title_logoA:hover,
        .team_title_logoB:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* ===== СЧЕТ ===== */
        .gameScore {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10px 20px;
            background: var(--bg-secondary);
            border-radius: 12px;
            min-width: 120px;
        }

        .gameScore .statusScore {
            font-size: 12px;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

        .score-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: center;
            font-size: 4rem;
            font-weight: 700;
            line-height: 1;
        }

        .score-wrapper #TeamA_Score {
            color: var(--teamA-color);
            min-width: 50px;
            text-align: center;
        }

        .score-wrapper #TeamB_Score {
            color: var(--teamB-color);
            min-width: 50px;
            text-align: center;
        }

        .score-wrapper .score-divider {
            color: var(--text-secondary);
            font-weight: 300;
            font-size: 3.5rem;
        }

        /* ===== КОНКУРС ===== */
        .competition-wrapper {
            text-align: center;
            margin-top: 15px;
            padding: 10px;
            background: var(--bg-secondary);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .competition-wrapper .subtitle-text {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .competition-wrapper #competitionData {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 4px 0 0;
        }

        /* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
        .match-center {
            background: var(--bg-primary);
            border-radius: 16px;
            padding: 30px 20px;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }

        /* ===== АДАПТИВНОСТЬ ДЛЯ СЧЕТА ===== */
        @media (max-width: 768px) {
            .score-wrapper {
                font-size: 3rem;
            }
            .score-wrapper #TeamA_Score,
            .score-wrapper #TeamB_Score {
                min-width: 35px;
            }
            .score-wrapper .score-divider {
                font-size: 2.5rem;
            }
            .team_title_logoA,
            .team_title_logoB {
                width: 70px;
                height: 70px;
            }
            .team_title {
                font-size: 16px;
            }
            .gameScore {
                padding: 8px 16px;
                min-width: 80px;
            }
        }

        @media (max-width: 480px) {
            .score-wrapper {
                font-size: 2.2rem;
                gap: 6px;
            }
            .score-wrapper #TeamA_Score,
            .score-wrapper #TeamB_Score {
                min-width: 28px;
                font-size: 2rem;
            }
            .score-wrapper .score-divider {
                font-size: 1.8rem;
            }
            .team_title_logoA,
            .team_title_logoB {
                width: 50px;
                height: 50px;
            }
            .team_title {
                font-size: 14px;
            }
            .gameScore {
                padding: 6px 12px;
                min-width: 60px;
            }
            .gameScore .statusScore {
                font-size: 10px;
            }
        }


.matchMeta {
    font-size: 0.75em;
    color: #566266;
}
.statusText {
    font-size: 0.85em;
    color: #566266;
}
/* ===================================================================
   СТИЛИ ДЛЯ ЭКСПОРТА В PDF (ПЕЧАТИ)
   =================================================================== */
@media print {
    /* Скрываем все элементы управления, которые не нужны в отчете */
    .header-bar, 
    .mode-selector, 
    .btn-remove, 
    footer, 
    #saveStatusText,
    .toast {
        display: none !important;
    }

    /* Делаем фон белым, а текст черным для экономии чернил и читаемости */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    /* Оформляем панели как аккуратные блоки с границами */
    .panel, .chart-section, .stats-section {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc !important;
        background: white !important;
        margin-bottom: 20px;
        padding: 15px;
    }

    .panel h3, .chart-section h2, .stats-section h2 {
        color: #000 !important;
        border-bottom: 2px solid #333;
        padding-bottom: 5px;
    }

    /* Canvas (графики и поля) должны быть видны четко */
    canvas {
        border: 1px solid #000 !important;
        background: white !important; /* Или оставьте зеленый для поля, если хотите */
        max-width: 100%;
        height: auto;
    }

    /* Статистические полосы делаем контрастными */
    .trackLine_bg {
        background: #eee !important;
    }
    
    /* Скрываем счетчики кликов и прочий интерактив */
    .records-count {
        display: none;
    }
}
