/* static/pages/css/style.css */

/* Меню в шапке */

.container-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 87px;
}

.nav-link {
    color: #2e2e2e;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #1482FA;
}

.search-input {
    padding: 8px 14px;
    border-radius: 25px;
    border: none;
    background-color: #fff;
    font-size: 15px;
    width: 250px;
}

.search-input::placeholder {
    color: rgba(108, 117, 125, 0.5);
    opacity: 1; /* для Firefox */
}

.search-input:focus {
    box-shadow: 0px 0px 7px rgba(20, 130, 250, 0.5);
    /* border: 3px solid rgba(20, 130, 250, 0.2); */
    outline: none;
}

.upload-btn {
    background: #1e1e1e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.icon-btn:hover, .upload-btn:hover {
    background-color: #1482FA;
    color: #fff;
    cursor: pointer;
}

/* Стили для аватара и всплывающего меню */
.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.user-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    width: 300px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 32px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.avatar-wrapper:hover .user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.burger-menu-wrap {
    position: relative;
    display: none;
    opacity: 0;
    margin-right: 63px;
}

.burger-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 10px;
    width: 250px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 32px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.burger-menu a {
    padding: 10px 0px 10px 0px;
    border-bottom: 1px solid #e0e0e0;    
}

.burger-menu a:last-child {
    border-bottom: none;
}

.burger-menu-wrap:hover .burger-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.user-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.user-info p {
    margin: 0;
    font-size: 16px;
}

.user-info p a {
    margin: 0;
    font-size: 16px;
    text-decoration: none;
    color: #1c1c1c;
}

.user-info p a:hover {
    color: #1482FA;
}

.icon-user {
    width: 50px;
    height: 50px;
    border-radius: 30px;
    background-color: #e2e2e2;
    align-content: center;
    text-align: center;
    color: #484848;
    margin: 0px 0px 30px 0px;
}

.logout-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 50px;
    background-color: #fff;
    color: #727272;
    border: 2px solid #f0f0f0;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.logout-btn:hover {
    background: #1482fa;
    color: #fff;
    text-decoration: none;
    border: 2px solid #1482fa;
}

/* Стили для модального окна обратной связи */
.modal-content {
    border-radius: 25px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 45px;
}

.modal-header {
    border-bottom: 0;
    padding: 0px 0px 30px 0px;
}

.modal-header .icon-modal {
    width: 50px;
    height: 50px;
    border-radius: 30px;
    background-color: #e2e2e2;
    align-content: center;
    text-align: center;
    color: #484848;
}

.modal-body {
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-body .modal-title {
    font-weight: 600;
    color: #2c3e50;
}

.modal-body .modal-text {
    padding: 0px;
    margin: 0px;
    color: #7b7b7b;
}

.modal-dialog .form-control {
    resize: vertical;
    min-height: 70px;
    border-radius: 20px 20px 4px 20px;
    border: 2px solid #f0f0f0;
    padding: 12px;
    color: #727272;
    margin-bottom: 20px;
}

.modal-dialog .form-control-video {
    resize: vertical;
    display: block;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    color: #727272;
    margin-bottom: 20px;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.modal-dialog .form-control::placeholder {
    color: rgba(108, 117, 125, 0.5);
    opacity: 1; /* для Firefox */
}

.modal-dialog .form-control-video::file-selector-button {
    padding: 10px 20px;
    background-color: #4a4a4a;
    color: white;
    border: none;
    cursor: pointer;
}

.modal-dialog .form-control-video::file-selector-button:hover {
    background-color: #1482fa;
}

.modal-dialog .upload-link {
    text-align: center;
    display: block;
    margin-top: -10px;
    position: relative;
    color: #727272;
}

.modal-dialog .upload-link a {
    color: #2e7df6;
    text-decoration: none;
}

.modal-dialog .btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 50px;
    background-color: #fff;
    color: #727272;
    border: 2px solid #f0f0f0;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    margin-top: 30px;
}

.modal-dialog .btn:hover {
    background: #1482fa;
    color: #fff;
    text-decoration: none;
    border: 2px solid #1482fa;
}


#feedbackMessage:focus {
    box-shadow: 0px 0px 7px rgba(20, 130, 250, 0.5);
    /* border: 3px solid rgba(20, 130, 250, 0.2); */
    outline: none;
}

/* Основные стили страницы */

.fonts-loading body {
    font-family: RocheSans, Tahoma, Geneva, Verdana, sans-serif;
}

#uploadVideoBtn .progress-bar-inner {
    border-radius: 6px;
    background: linear-gradient(90deg,#1482fa 0%,#179cfb 100%);
    opacity: 0.85;
    pointer-events: none;
    /* При необходимости — плавное появление */
    transition: width 0.2s;
}

@font-face {
    font-family: 'RocheSans';
    src: url('../fonts/RocheSans-Regular.woff2') format('woff2'), url('../fonts/RocheSans-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RocheSans';
    src: url('../fonts/RocheSans-Bold.woff2') format('woff2'), url('../fonts/RocheSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'RocheSans';
    src: url('../fonts/RocheSans-Light.woff2') format('woff2'), url('../fonts/RocheSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: light;
    font-display: swap;
}

body {
    font-family: 'RocheSans', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #F1F1F1;
}

/* Стили шапки */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: #2c3e50;
    padding-bottom: 10px;
}

/* Основной контент */
.content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Стили для списков */
.features {
    margin-top: 30px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

li:last-child {
    border-bottom: none;
}

/* Выделенный текст */
.highlight {
    color: #e74c3c;
    font-weight: bold;
}

/* Стили для навигации */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Стили для кнопок */
.btn {
    transition: all 0.2s;
}

.btn-primary {
    background-color: #1482fa;
    border-color: #1482fa;
}

.main-footer {
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid #dadada;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
}

.main-footer .footer-text {
    text-align: center;
    padding: 30px 0px 10px 0px;
}

.main-footer .footer-text p {
    color: #667085;
    font-size: 16px;
    margin: 0px;
    font-weight: 300;
}

.main-footer .footer-text a {
    color: #667085;
}

.main-footer .footer-text a:hover {
    color: #1482fa;
}

/* Адаптивные стили */
@media (max-width: 999px) {
.custom-navbar .nav-center {
    display: none;
}

}
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .content {
        padding: 20px;
    }
    
    .custom-navbar .burger-menu-wrap {
    position: relative;
    display: inline-block;
    opacity: 1;
    }
    
    .custom-navbar .nav-left, .custom-navbar .upload-btn, .custom-navbar .notification-icon {
    display: none;
    }

}


/* Стили для алертов */
.alert {
    border-radius: 8px;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}