@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; } } .page-title-color-frame { background: linear-gradient(135deg, v.$p-color 0%, v.$s-color 100%); padding: 2rem; border-radius: 16px; margin-bottom: 2rem; box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2); color: v.$white; max-width: calc(100vw - var(--side-bar-width) - 60px); @media (max-width: 440px) { max-width: calc(100vw - var(--side-bar-width) - 30px); } h1 { font-size: 2rem; font-weight: 700; margin: 0 0 0.5rem 0; display: flex; align-items: center; gap: 0.75rem; } p { font-size: 1rem; margin: 0; } .header-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; @media (max-width: 700px) { flex-direction: column; } .header-main { flex: 1; } .header-stats { display: flex; gap: 28px; align-items: center; @media (max-width: 440px) { flex-direction: column; } } .header-stat-item { text-align: center; } .header-stat-value { font-size: 28px; font-weight: 700; margin-bottom: 4px; } .header-stat-label { font-size: 13px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; } } } .main-containter-wrapper { margin-left: var(--side-bar-width); ; flex: 1; padding: 30px; background: v.$bg-light; min-height: 100vh; @media (max-width: 440px) { padding: 15px; } } .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; } @media (max-width: 440px) { max-width: calc(100vw - var(--side-bar-width) - 30px); } } .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; &:disabled { background: linear-gradient(135deg, v.$p-color-disabled, v.$s-color-disabled); cursor: default; } &:hover:not(:disabled) { 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; &:has(.modal-window-view-file) { padding: 0; background: transparent; } } } .sidebar { 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; border-radius: 0 30px 30px 0; transition: transform 0.3s ease-in-out; transform: translateX(-100%); @media (max-width: 767px) { width: 400px; display: block; &.show { transform: translateX(0); } &:not(.show) { transform: translateX(-100%); } } @media (max-width: 400px) { width: 100%; } @media (min-width: 767px) { width: var(--side-bar-width); transform: translateX(0); } .build-versions { position: absolute; bottom: 10px; left: 10px; color: #fffc; } } .sidebar-close-button { padding: 0 15px 20px; color: v.$white; cursor: pointer; display: none; @media (max-width: 767px) { display: block; } } .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 12px 12px 32px; 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.$white; background: v.$color-image; padding: 8px; border-radius: 6px; } &-audio { color: v.$white; background: v.$color-audio; padding: 8px; border-radius: 6px; } &-video { color: v.$white; background: v.$color-video; padding: 8px; border-radius: 6px; } &-document { color: v.$white; background: v.$color-document; padding: 8px; border-radius: 6px; } } .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; cursor: pointer; &:hover { background-color: #f9fafb; } &:focus { outline: none; } @media (max-width: 490px) { padding: 0.5rem 8px; } } .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; } } } } .dropdown-wrapper { position: relative; width: 100%; .dropdown-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 16px; font-size: 14px; font-weight: 500; line-height: 1.25; background-color: #ffffff; border: 2px solid #e2e8f0; border-radius: 12px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); transition: background-color 0.2s ease-in-out; &:hover { background-color: #f9fafb; } &:focus { outline: none; box-shadow: 0 0 0 2px rgba(99, 101, 241, 0.53); outline: 2px solid transparent; outline-offset: 2px; } } .dropdown-list { position: absolute; right: 0; z-index: 10; width: 100%; margin-top: 8px; transform-origin: top right; background-color: #ffffff; border: 2px solid #e2e8f0; border-radius: 12px; 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; } } .dropdown-item { display: flex; align-items: center; width: 100%; padding: 8px 16px; font-size: 14px; text-align: left; cursor: pointer; user-select: none; &:hover { background-color: #dbeafe; } &.current { font-weight: 700; } } } .yaPreloadingSuggestBlockContainer { height: 52px !important; }