
body{
    font-family: 'Roboto', sans-serif;
    background-color: #f6f7fb;
    margin: 0;
}
.container{
    margin: 0 auto;
    width: 1150px;
}
.header{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.nav-bar{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.nav-link{
    color: black;
    text-decoration: none;
}
.nav-link:hover{
    color: rgb(106, 105, 105);
}
.nav-button{
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 40px;
    background-color: white;
    height: 50px;
    border: 2px solid black;
}
.button-black{
    color: white;
    background-color: black;
}
.nav-button:hover{
    background-color: black;
    color: white;
}
.button-black:hover{
    background-color: white;
    color: black;
}
.main-info{
    align-items: center;
    margin-top: 70px;
    display: flex;
    margin: 0 auto;
    
}


.main-text{
    font-size: 20px;
    width: 491px;
}
.main-text h1{
    font-size: 77px;
    line-height: 66px;
}
.main-header p{
    margin-top: -21px;
}
.main-button{
    font-size: 18px;
    margin-top: 70px;
}
.main-button-btn{
    height: 61px;
}
.main img{
    margin-top: 50px;
}
footer{
    margin-top: 300px;
    background-color: #302E3F;
    color: white;
}
.foot-content{
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 1150px;
}
.link-button{
    width: 300px;
}

.navbar {
    margin: 0 auto;
    width: 1150px;

}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
height: 62px;
}

.navbar .menu-items {
display: flex;
}

.navbar .nav-container li {
list-style: none;
}

.navbar .nav-container a {
text-decoration: none;
color: #0e2431;
font-weight: 500;
font-size: 1.2rem;
padding: 0.7rem;
}

.navbar .nav-container a:hover{
font-weight: bolder;
}

.nav-container {
display: block;
position: relative;
height: 60px;
}

.nav-container .checkbox {
position: absolute;
display: block;
height: 32px;
width: 32px;
top: 20px;
left: 20px;
z-index: 5;
opacity: 0;
cursor: pointer;
}

.nav-container .hamburger-lines {
display: block;
height: 26px;
width: 32px;
position: absolute;
top: 17px;
left: 20px;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.nav-container .hamburger-lines .line {
display: block;
height: 4px;
width: 100%;
border-radius: 10px;
background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
transform-origin: 0% 0%;
transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
transform-origin: 0% 100%;
transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
padding-top: 120px;
height: 100vh;
width: 100%;
transform: translate(-400%);
display: flex;
flex-direction: column;

transition: transform 0.5s ease-in-out;
text-align: center;
}
.menu-items{
background-color: white;
opacity: 0.9;
}
.navbar .menu-items li {
margin-bottom: 1.2rem;
font-size: 1.5rem;
font-weight: 500;
}

.logo {
cursor: pointer;
position: absolute;
top: 5px;
right: 15px;
font-size: 1.2rem;
color: #0e2431;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
display: none;
}
.main{
margin-top: 10px;
}
.main-info img{
    width: 50%;
    height: 100%;
}


@media (max-width: 1024px){
    .container{
        width: 100%;
    }
    .navbar{
        width: 100%;

    }
}

.myfiles-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.myfiles-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.myfiles-hero {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.myfiles-hero-actions {
    display: flex;
    justify-content: flex-start;
}

.myfiles-hero-actions .btn {
    width: 100%;
}

.myfiles-hero-info h1 {
    margin-top: 0;
}

.myfiles-hero-info h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.myfiles-subtitle {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
}

.myfiles-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.myfiles-actions .btn {
    border-radius: 12px;
}

.myfiles-page .btn,
.cabinet-page .btn,
.myfiles-modal .btn {
    border-radius: 12px;
    font-weight: 600;
    border-width: 2px;
    font-size: 14px;
    padding: 10px 14px;
    min-height: 44px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.myfiles-page .btn-primary,
.cabinet-page .btn-primary,
.myfiles-modal .btn-primary {
    background: #1366ff;
    border-color: #1366ff;
    box-shadow: 0 10px 24px rgba(19, 102, 255, 0.2);
}

.myfiles-page .btn-primary:hover,
.cabinet-page .btn-primary:hover,
.myfiles-modal .btn-primary:hover {
    background: #0f5ae0;
    border-color: #0f5ae0;
}

.myfiles-page .btn-outline-primary,
.myfiles-page .btn-outline-secondary,
.cabinet-page .btn-outline-primary,
.cabinet-page .btn-outline-secondary,
.myfiles-modal .btn-outline-primary,
.myfiles-modal .btn-outline-secondary {
    background: #fff;
    color: #1f2937;
    border-color: #cbd5e1;
}

.myfiles-page .btn-outline-primary:hover,
.myfiles-page .btn-outline-secondary:hover,
.cabinet-page .btn-outline-primary:hover,
.cabinet-page .btn-outline-secondary:hover,
.myfiles-modal .btn-outline-primary:hover,
.myfiles-modal .btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.myfiles-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.myfiles-stat {
    background: #ffffff;
    border-radius: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.myfiles-summary {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 10px;
}

.myfiles-summary-toggle {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.myfiles-summary-toggle::-webkit-details-marker {
    display: none;
}

.myfiles-summary-toggle::after {
    content: "▾";
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.15s ease;
}

.myfiles-summary[open] .myfiles-summary-toggle::after {
    transform: rotate(180deg);
}

.myfiles-stat-label {
    font-size: 11px;
    color: #94a3b8;
}

.myfiles-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.myfiles-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.myfiles-search-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.myfiles-search {
    border-radius: 12px;
}

.myfiles-search-hint {
    font-size: 12px;
    color: #94a3b8;
    padding-left: 2px;
}

.myfiles-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.myfiles-filters .btn {
    border-radius: 12px;
    font-size: 12px;
    padding: 6px 12px;
    min-height: 38px;
    transition: all 0.15s ease;
}

.myfiles-filters .btn.active {
    background: #111827;
    border-color: #111827;
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

.myfiles-list {
    display: grid;
    gap: 14px;
}

.myfiles-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.myfiles-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.myfiles-card-top h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.myfiles-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.myfiles-more {
    border: none;
    background: #eef2f7;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.myfiles-more:active {
    transform: scale(0.96);
}

.myfiles-card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

.myfiles-card-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.myfiles-card-stats b {
    color: #0f172a;
}

.myfiles-card-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
}

.myfiles-card-links .btn {
    border-radius: 12px;
}

.myfiles-empty {
    text-align: center;
    color: #64748b;
    padding: 18px;
}

.myfiles-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
}

.myfiles-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
}

.myfiles-modal-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 16px;
    box-shadow: 0 -10px 32px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.myfiles-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myfiles-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.myfiles-modal-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.myfiles-modal-close {
    border: none;
    background: #f1f5f9;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.myfiles-modal-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.myfiles-modal-stats > div {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
}

.myfiles-modal-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.myfiles-modal-actions {
    display: grid;
    gap: 8px;
}

.myfiles-modal-actions-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.myfiles-page .btn-sm,
.cabinet-page .btn-sm,
.myfiles-modal .btn-sm {
    font-size: 14px;
    padding: 10px 14px;
}

.myfiles-page .btn-outline-primary,
.myfiles-page .btn-outline-secondary,
.cabinet-page .btn-outline-primary,
.cabinet-page .btn-outline-secondary,
.myfiles-modal .btn-outline-primary,
.myfiles-modal .btn-outline-secondary {
    box-shadow: none;
}

@media (min-width: 768px){
    .myfiles-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .myfiles-hero-actions {
        justify-content: flex-end;
    }

    .myfiles-hero-actions .btn {
        width: auto;
    }
    .myfiles-modal-sheet {
        left: 50%;
        transform: translateX(-50%);
        max-width: 420px;
        border-radius: 18px;
        bottom: 24px;
    }
}

@media (min-width: 768px){
    .myfiles-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .myfiles-hero-info h1 {
        font-size: 34px;
    }

    .myfiles-actions {
        grid-template-columns: auto auto;
        justify-content: flex-start;
    }

    .myfiles-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .myfiles-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .myfiles-search-wrap {
        min-width: 280px;
    }

    .myfiles-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .myfiles-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .myfiles-card-links {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 1024px){
    .myfiles-hero-info h1 {
        font-size: 38px;
    }

    .myfiles-card {
        padding: 18px;
    }
}

.cabinet-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px 60px;
}

.cabinet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cabinet-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.cabinet-subtitle {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
}

.cabinet-balance {
    margin-top: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cabinet-balance-main span {
    color: #64748b;
    font-size: 13px;
}

.cabinet-balance-main h2 {
    margin: 6px 0;
    font-size: 28px;
}

.cabinet-balance-main p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.cabinet-balance-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.cabinet-stats {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cabinet-stat {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cabinet-stat span {
    font-size: 12px;
    color: #94a3b8;
}

.cabinet-stat b {
    font-size: 20px;
    color: #0f172a;
}

.cabinet-payouts {
    margin-top: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cabinet-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cabinet-section-header h3 {
    margin: 0;
    font-size: 18px;
}

.cabinet-section-header span {
    font-size: 12px;
    color: #94a3b8;
}

.cabinet-payout-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cabinet-payout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.cabinet-payout-amount {
    font-weight: 700;
}

.cabinet-payout-date {
    font-size: 12px;
    color: #94a3b8;
}

.cabinet-payout-status {
    font-size: 12px;
    color: #475569;
}

.cabinet-empty {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 13px;
}

@media (min-width: 768px){
    .cabinet-page {
        padding-top: 24px;
    }

    .cabinet-header h1 {
        font-size: 34px;
    }

    .cabinet-balance {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cabinet-balance-actions {
        grid-template-columns: auto auto auto;
    }

    .cabinet-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 720px){
    
    .main-info img{
        display: none;
    }
    .main-text{
        width: 80%;
        flex-wrap: wrap;
        margin: 0 auto;
    }

}
@media (max-width: 420px){
    
    .main-text{
        width: 100%;
    }

}
