body {
    font-family: "Segoe UI", Arial, sans-serif !important;
    color: white;
}

.logo {
    font-size: 48px;
}

.title {
    padding-top: 50px;
    font-size: 96px;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.divider-line {
    height: 4px;
    background-color: white;
    width: 100%;
    margin: 30px auto;
    border: none;
}

.sub-text {
    font-size: 2rem;
    opacity: 0.9;
    margin-top: 25px;
}

/* ----------------- Кнопки ----------------- */

.buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.buttons-container .btn-custom {
    transition: all 0.3s ease;
}

/* ------------------------------------------ */

a {
    color: #57a8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #258eff;
}

.wrappable {
    white-space: normal;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(0px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);*/
}

nav.glass {
    padding: 20px 35px;
    border-radius: 10px;
}

.glass {
    padding: 30px;
    border-radius: 10px;
}   

.cta-button {
    width: 100%;
    border-radius: 10px;
}

.cta-button:hover {
    transform: translateY(0px);
}

.form-control {
    border-radius: 10px !important;
}

.form-control:focus {
    color: white;
}

input.form-control:-webkit-autofill {
    -webkit-text-fill-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 500000s ease-in-out, color 500000s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.0);
}

input.form-control.error-input:-webkit-autofill,
input.form-control.error-input:-webkit-autofill:hover,
input.form-control.error-input:-webkit-autofill:focus,
input.form-control.error-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 77, 79, 0.1) inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: white;
    border-color: #ff4d4f !important;
}

.error-input {
    border-color: #ff4d4f !important;
    background-color: rgba(255, 77, 79, 0.1) !important;
}

.error-message {
    color: #ff4d4f;
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.4;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.35s ease;
}

.error-link {
    color: #ff4d4f;
    font-weight: 500;
}

.error-link:hover {
    color: #ff292c;
}

.error-message.show {
    max-height: 200px;
    opacity: 1;
}

.error-input {
    border-color: #d9534f !important;
    box-shadow: 0 0 6px rgba(217, 83, 79, 0.4);
}


/* Контент */
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

/* Меню */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    display: inline-flex;
    align-items: center;
}

/* Ссылки */
.nav-link {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

/* Анимация underline из центра */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Иконка профиля */
.profile-btn {
    font-size: 28px;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.3s;
}

.profile-btn:hover {
    transform: scale(1.15);
    opacity: 0.9;
}
