.spacer
{
    width: 100%;
    height: 80px;
}
.shadow_head{
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1), 0 0 5px 0 rgba(0, 0, 0, 0.1);
}
.active-link{
    color: #fff;
}

.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
}


.main-div{
    height: 430px;
    width: 400px;
    background: white;
}
.shadow {
    background: #ffffff; /* Цвет фона */
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.075);
    border-radius: 10px;
}

.logotype {
    margin-top: -15px;
    width: auto;
    min-width: 160px;
    margin-bottom: -15px;
}

.languages-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 20px;
}
.language-item {
    display: flex;
    flex-direction: row;
    margin-right: 15px;
    width: 8%;
    justify-self: center;
}

.form-user{
    display: flex;
    justify-content: space-between;


}

.logout {
  float: right;
  margin-left: auto;
}

@media screen and (max-width: 1200px) {

  .table-scroll {
    width: 100%;
    overflow-y: hidden;
    _overflow: hidden;

    padding: 0px;
  }
}

.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
}

.rightimg  {
    border-left: 5px double grey;
    padding:20px;
    float: right;
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
}

.rightimg_no_border  {
    padding:20px;
    float: right;
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
}

.black_overlay {
    transition: visibility 0.3s, opacity 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 100000;
}

.white_content {
    transition: visibility 0.3s, opacity 0.3s ease-out;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 5%;
    left: 15%;
    width: 70%;
    height: 90%;
    padding: 16px;
    border: 3px solid;
    border-color: #ddd;
    background-color: rgb(255, 255, 255);
    z-index: 100001;
    overflow: auto;
    border-radius: 15px;
}

.white_content_broadcast {
    transition: visibility 0.3s, opacity 0.3s ease-out;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 80%;
    padding: 16px;
    border: 3px solid;
    border-color: #ddd;
    background-color: rgb(255, 255, 255);
    z-index: 100001;
    overflow: auto;
    border-radius: 15px;
}

.white_content_xls {
    transition: visibility 0.3s, opacity 0.3s ease-out;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 14%;
    left: 15%;
    width: 70%;
    height: 72%;
    padding: 16px;
    border: 3px solid;
    border-color: #ddd;
    background-color: rgb(255, 255, 255);
    z-index: 100001;
    overflow: auto;
    border-radius: 15px;
}

body{
    background-color: #fafafa
}

.page_wrap {
    background-color: #fafafa
}

/* Shared panel screen styles, rescued from panel/event_day.html before that
   template was deleted in 02-05. Used by the phase-5 points screen and the
   phase-3 roster screen; not page-specific leftovers.
   The three button variants are scoped under .panel-screen on purpose: their
   bare selectors collide with bootstrap.css, which style.css is loaded after,
   so an unscoped copy would restyle every button in the panel. */

.event-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
}

.event-table th {
    background: #f3f4f6;
    padding: 0.75rem;
    text-align: left;
    font-weight: bold;
    border: 1px solid #e5e7eb;
}

.event-table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    vertical-align: middle;
}

.event-table tr:hover {
    background: #f9fafb;
}

.panel-screen .btn-primary {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 0.5rem;
}

.panel-screen .btn-primary:hover {
    background: #2563eb;
}

.panel-screen .btn-success {
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 0.5rem;
}

.panel-screen .btn-success:hover {
    background: #059669;
}

.panel-screen .btn-danger {
    background: #ef4444;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 0.5rem;
}

.panel-screen .btn-danger:hover {
    background: #dc2626;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin: 0.1rem;
}

.stats-box {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 5px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.section {
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.game-status {
    padding: 0.5rem 1rem;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    margin: 1rem 0;
}
