@use './variable.scss' as v; @use './header.scss'; @use './pages-styles.scss'; @use './settings.scss'; @use './payment-container.scss'; @use './reports.scss'; @use './privacy-and-terms-pages.scss'; @use './VKLogin.scss'; .page-title { font-size: 30px; font-weight: 600; margin-bottom: 30px; display: flex; align-items: center; color: #1f2937; font-family: Verdana, Geneva, Tahoma, sans-serif; .icon { margin-left: 5px; margin-top: 5px; color: v.$p-color; } &::before { content: ''; width: 8px; height: 8px; background: v.$p-color; border-radius: 50%; margin-right: 15px; } } .main-containter-wrapper { margin-left: var(--side-bar-width); ; flex: 1; padding: 30px; background: v.$bg-light; min-height: 100vh; } .main-containter { max-width: 1920px; margin: 0 auto; } .block-wrapper { background: v.$white; border-radius: 20px; padding: 25px; box-shadow: 0 4px 20px v.$shadow-1; border: 1px solid v.$b-color-1; margin-bottom: 30px; width: 100%; max-width: calc(100vw - var(--side-bar-width) - 60px); &.auto { width: auto; } } .btn { padding: 12px 24px; border-radius: 10px; border: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; } .btn-primary { background: linear-gradient(135deg, v.$p-color, v.$s-color); color: v.$white; border: 2px solid transparent; &:hover { transform: translateY(-2px); box-shadow: 0 8px 25px v.$shadow-1; } } .btn-secondary { background: v.$bg-hover; color: v.$text-p; border: 2px solid transparent; &:hover { background: v.$bg-light; } } .btn-outline { background: transparent; border: 2px solid v.$p-color; color: v.$p-color; &:hover { background: v.$p-color; color: v.$white; } } .divider { text-align: center; margin: 20px 0; position: relative; color: v.$text-m; font-size: 14px; &::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: v.$b-color-2; } span { background: v.$white; padding: 0 15px; position: relative; } } .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 30px; } .show-password-button { cursor: pointer; position: absolute; top: 50%; right: 0px; padding: 10px; transform: translateY(-50%); svg { width: 16px; color: #686060; transition: color 0.2s ease; &:hover { color: v.$s-color; } } &.show { svg { color: v.$s-color; } } } .modal-wrapper { position: fixed; z-index: 101; top: 0; left: 0; width: 100vw; height: 100vh; background: v.$bg-darkening; .modal-window { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 20px; background: v.$white; color: v.$text-p; border-radius: 20px; box-shadow: 0px 4px 20px v.$shadow-1; } } .sidebar { /* width: v.$side-bar-width; */ width: var(--side-bar-width); background: linear-gradient(180deg, v.$p-color 0%, v.$s-color 100%); padding: 30px 0; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; } .nav-link { display: flex; align-items: center; padding: 15px 30px; color: v.$text-w; text-decoration: none; transition: all 0.3s; border-radius: 0 25px 25px 0; margin-right: 20px; margin-bottom: 8px; font-weight: 500; text-transform: uppercase; &:hover { background: #ffffff26; color: v.$white; } svg { margin-right: 15px; width: 20px; height: 20px; } @media (max-width: 1200px) { padding: 5px 15px; font-size: 15px; } } .sub-link { padding: 12px 50px; font-size: 14px; border-radius: 0; margin-right: 0; &:last-child { margin-bottom: 0; } } .nav-dropdown { .dropdown-arrow { margin-left: auto; transition: transform 0.3s; } &.expanded { .dropdown-arrow { transform: rotate(180deg); } } } .sub-menu.expanded { max-height: 400px; } .sub-menu { list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #ffffff26; margin-right: 20px; margin-bottom: 8px; border-radius: 0 15px 15px 0; } .logo { display: flex; align-items: center; padding: 0 30px 40px; color: v.$white; font-size: 24px; font-weight: 600; text-transform: uppercase; white-space: nowrap; @media (max-width: 1200px) { padding: 0 15px 20px; font-size: 20px; } svg { width: 32px; height: 32px; margin-right: 15px; @media (max-width: 1200px) { width: 28px; height: 28px; margin-right: 5px; } } } .logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: linear-gradient(135deg, v.$p-color, v.$s-color); border-radius: 15px; margin-bottom: 15px; svg { width: 30px; height: 30px; fill: v.$white; } } .color { &-image { color: v.$color-image; } &-audio { color: v.$color-audio; } &-video { color: v.$color-video; } } .split-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; @media (max-width: 1624px) { grid-template-columns: 1fr; } } .language-switcher { position: relative; .switcher-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: v.$p-color; background-color: v.$white; border: 2px solid v.$p-color; border-radius: 0.375rem; box-shadow: 0 1px 2px 0 v.$shadow-1; transition: background-color 0.2s; &:hover { background-color: #f9fafb; } &:focus { outline: none; } } .switcher-list { position: absolute; right: 0; z-index: 10; width: 100%; margin-top: 0.5rem; transform-origin: top right; background-color: v.$white; border: 2px solid v.$p-color; border-radius: 0.375rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); &:focus { outline: none; } .language-btn { display: flex; align-items: center; width: 100%; padding: 0.5rem 1rem; font-size: 0.875rem; text-align: left; transition: background-color 0.2s ease; color: v.$p-color; &:hover { background-color: #dbeafe; } &.active { background-color: #eff6ff; font-weight: 700; } } } }