:root {
    --bs-primary: #21405a;
    --bs-primary-rgb: 33, 64, 90;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, #ffd3b4, #3f3c66);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3f3c66;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 10px 0;
}

.container {
  padding: 0;
  margin: 0;
}

.container-page {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

header.navbar {
  flex-shrink: 0;
}

main {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-shrink: 0; 
}

footer {
  background-color: #3f3c66 ;
  color: #e0e7f1;
  padding: 12px 15px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 4px 8px rgb(42 73 103 / 0.3);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;  
  flex-shrink: 0;
  border: 1px #ffd3b4 solid;
}
footer a {
  color: #a9c9ff;
  transition: color 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: #d0e4ff;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  footer > div {
    width: 100%;
  }
} 
 
header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(224,231,241, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

header nav a.btn-outline-light {
  color: #ffd3b4;
  border-color: #ffd3b4;
  transition: color 0.3s ease, background-color 0.3s ease;
}

header nav a.btn-outline-light:hover {
  color: #3f3c66;
  background-color: #ffd3b4;
  text-decoration: none;
}

.card-block {
  background-color: #ffd3b4;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.07);
  padding: 25px;
  color: #3f3c66;
  display: flex;
  flex-direction: column;
  border: 1px #2a4967 solid;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.leftbar {
  width: 280px;
}

.btn-primary {
    background-color: #3f3c66 !important;
    border-color: #1c354d !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #192e42 !important;
    border-color: #162a3d !important;
}

.btn-primary:active {
    background-color: #162a3d !important;
    border-color: #142636 !important;
    color: #fff !important;
}

.btn-outline-primary {
  color: #3f3c66  !important;
  border-color: #3f3c66  !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: color 0.3s ease, border-color 0.3s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff !important;
  background-color: #2a4967 !important;
  border-color: #2a4967 !important;
  box-shadow: 0 0 8px #2a4967aa !important;
}

.btn-outline-primary:active {
  color: #fff !important;
  background-color: #234059 !important;
  border-color: #234059 !important;
  box-shadow: 0 0 6px #234059aa !important;
}

h2 {
  color: #3f3c66;
  font-weight: 700;
  margin-bottom: 15px;
}

.side-t {
  color: #3f3c66;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid #2a4967;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.banner {
  width: 200px;
  height: 300px;
  background: linear-gradient(135deg, #87c0f9, #1f3556);
  color: #e0e7f1;
  font-weight: 700;
  box-shadow: 0 4px 10px rgb(30 53 102 / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
} 

@media (max-width: 991px) {
  main {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}
    .register-container {
        display: flex;
        align-items: center;
        justify-content: center; 
    }
    .register-card {
        background: #fff;
        border-radius: 12px;
        padding: 20px 40px;
        width: 100%;
        max-width: 500px;
        text-align: center;
    }
    .register-card h3 {
        margin-bottom: 25px;
        font-weight: 700;
        color: #333;
    }
    .form-control {
        border-radius: 10px;
        padding: 15px 12px;
        font-size: 16px;
        box-shadow: none !important;
        border: 1.5px solid #ddd;
        transition: border-color 0.3s;
    }
    .form-control:focus {
        border-color: #2a4967;
        box-shadow: 0 0 8px rgba(42, 73, 103,0.4) !important;
        outline: none;
    }
     
    .links-row {
        margin-top: 20px;
        font-size: 14px;
        color: #777;
    }
    .links-row a {
        color: #2a4967;
        text-decoration: none;
        margin: 0 8px;
        transition: color 0.3s ease;
    }
    .links-row a:hover {
        text-decoration: underline;
        color: #5563c1;
    }
.bg-gradient-orange {
  background: linear-gradient(135deg, #f6a821, #f39c12);
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #ff4e50, #f44336);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #28a745, #218838);
}    
    .foot-stat {
        background-color: #3f3c66;
        color: #ffd3b4;
        padding: 10px 15px;
        box-shadow: 0 2px 6px rgba(42, 73, 103, 0.5);
        border-radius: 10px;
		border: 1px #ffd3b4 solid;
    }

    .foot-stat .icon {
        font-size: 30px;
    }

    .foot-stat .description {
        font-size: 0.9rem;
    }
 
    .foot-stat .number {
        background-color: #ffd3b4;
        color: #3f3c66;
        border-radius: 4px;
        padding: 5px 0; 
        width: 100%;
        font-size: 1.2rem;
        font-weight: 600;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }
            .history-table {
                width: 100%;
                border-collapse: collapse;
                border-radius: 10px;
                overflow: hidden;
                box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            }
            .history-table thead {
                background-color: #f4f6f9;
                color: #333;
            }
            .history-table th, .history-table td {
                padding: 12px 15px;
                text-align: left;
                border-bottom: 1px #2a4967 solid;
				background-color: #dee2e6;
            }
            .history-table th {
                background-color: #3f3c66;
                color: #ffd3b4;
                font-weight: bold;
            }
            .history-table tr:nth-child(even) {
                background-color: #f9f9f9;
            }
            .history-table tr:hover {
                background-color: #e9f1f7;
            }
            .history-table td.text-center {
                text-align: center;
            }
            .history-table td.text-end {
                text-align: end;
            }
            
            /* Адаптивность */
            @media (max-width: 767px) {
                .history-table th, .history-table td {
                    padding: 8px 10px;
                }
            }
            .nav-pills .nav-link {
                background-color: #2a4967;
                color: white;
                border-radius: 0;
            }
            .nav-pills .nav-link:hover {
                background-color: #233f57;
                color: white;
            }
            .nav-pills .nav-link.active {
                background-color: #1c3550;
                color: white;
            }         
 
.surfblockopen {
    display: none;
}

.content-block {
    background: linear-gradient(135deg, rgba(78, 88, 83, 0.25), rgba(78, 88, 83, 0.25));
    padding: 9px;
    border-radius: 10px;
    border-bottom: 3px #2186eb solid;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(33, 134, 235, 0.1);
}

.info-row {
    background-color: #ffffff;
    padding: 2px 5px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.time-icon, .remaining-icon {
    color: #2f3e46;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3f4745;
    text-align: right;
}

.title_serf {
    color: #000;
    font-weight: 600;
    cursor: pointer;
}
    .info-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .info-left {
        display: flex;
        gap: 15px; /* Отступ между иконками и текстом */
        align-items: center;
    }

    .info-item {
        display: flex;
        align-items: center;
        font-size: 14px;
        gap: 5px; /* Расстояние между иконкой и текстом */
    }
    .title-wrapper {
        display: flex;
        align-items: center; /* Выравнивание по центру по вертикали */
        gap: 10px; /* Расстояние между иконкой и текстом */
    }
               