/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Adobe Clean","Inter",Arial,sans-serif;
    background:#f7f7f7;
    color:#2c2c2c;
    overflow:hidden;
}

/* ==========================================
   TOP NAVIGATION
========================================== */

.top-nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:64px;
    background:#fff;
    border-bottom:1px solid #e6e6e6;
    display:flex;
    align-items:center;
    padding:0 18px;
    z-index:1000;
}

.nav-left{
    display:flex;
    align-items:center;
    flex:1;
}

.adobe-logo{
    width:220px;
    display:flex;
    align-items:center;
}

.adobe-logo img{
    width:34px;
    height:34px;
}

.nav-left ul{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    list-style:none;
    gap:42px;
}

.nav-left li{
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    white-space:nowrap;
    transition:.2s;
}

.nav-left li:hover{
    color:#1473e6;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}
/* ==========================================
   GLOBAL TYPOGRAPHY SETTINGS
========================================== */

html{
    font-size:16px;
}

body{
    font-family:"Adobe Clean","Inter",Arial,sans-serif;
    font-size:14px;
    font-weight:400;
    line-height:1.5;
    letter-spacing:0;
    color:#2c2c2c;
}

/* Main headings */

h1{
    font-size:32px;
    font-weight:700;
    line-height:1.25;
    letter-spacing:-0.3px;
}

h2{
    font-size:28px;
    font-weight:600;
    line-height:1.3;
}

h3{
    font-size:22px;
    font-weight:600;
    line-height:1.35;
}

h4{
    font-size:17px;
    font-weight:600;
    line-height:1.4;
}


/* Paragraph text */

p{
    font-size:15px;
    font-weight:400;
    line-height:1.7;
    letter-spacing:0.1px;
    color:#444;
}


/* Navigation text */

.nav-left li{
    font-size:14px;
    font-weight:500;
    line-height:1.4;
}

.sign-in{
    font-size:14px;
    line-height:1;
}


/* Sidebar */

.icon span{
    font-size:12px;
    line-height:1.3;
}

.menu{
    font-size:14px;
    font-weight:500;
    line-height:1.4;
}


/* Folder cards */

.folder-info h4{
    font-size:17px;
    font-weight:600;
    line-height:1.4;
}

.folder-info p{
    font-size:12px;
    font-weight:500;
    line-height:1.3;
    letter-spacing:0.8px;
}


/* Popup text */

.popup h1{
    font-size:30px;
    font-weight:700;
    line-height:1.3;
    margin-bottom:20px;
}

.popup p{
    font-size:15px;
    line-height:1.7;
    margin-bottom:18px;
}


/* Buttons */

button,
.download-btn{
    font-family:inherit;
    font-size:16px;
    font-weight:600;
    line-height:1;
}
/* ==========================================
   SEARCH
========================================== */

.search-box{
    width:260px;
    height:38px;
    border:1px solid #dadada;
    border-radius:22px;
    background:#fff;
    display:flex;
    align-items:center;
    padding:0 15px;
}

.search-box i{
    color:#777;
    margin-right:10px;
}

.search-box input{
    width:100%;
    border:none;
    outline:none;
    background:transparent;
    font-size:14px;
}

.top-icon{
    font-size:18px;
    color:#555;
    cursor:pointer;
}

.sign-in{
    padding:8px 18px;
    border:1px solid #1473e6;
    border-radius:20px;
    color:#1473e6;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.sign-in:hover{
    background:#1473e6;
    color:#fff;
}

/* ==========================================
   PAGE
========================================== */

.page{
    display:flex;
    margin-top:64px;
    height:calc(100vh - 64px);
}

/* ==========================================
   LEFT ICON BAR
========================================== */

.icon-sidebar{
    width:78px;
    background:#fff;
    border-right:1px solid #e5e5e5;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top:20px;
}

.icon{
    width:100%;
    padding:16px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:#666;
    cursor:pointer;
    transition:.2s;
}

.icon:hover{
    background:#f3f3f3;
}

.icon.active{
    color:#1473e6;
}

.icon i{
    font-size:20px;
}

.icon span{
    margin-top:8px;
    font-size:12px;
}

/* ==========================================
   SIDEBAR
========================================== */

.sidebar{
    width:245px;
    background:#fafafa;
    border-right:1px solid #e4e4e4;
    padding:22px;
}

.menu{
    height:46px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 15px;
    border-radius:10px;
    margin-bottom:6px;
    cursor:pointer;
    transition:.2s;
}

.menu:hover,
.menu.active{
    background:#ececec;
}

.launch-more{
    margin-top:25px;
    display:flex;
    justify-content:space-between;
}

/* ==========================================
   CONTENT
========================================== */

.content{
    flex:1;
    padding:35px 40px;
    overflow:auto;
}

.content-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.content-header h2{
    font-size:32px;
}

.create-folder{
    display:flex;
    align-items:center;
    gap:10px;
    color:#1473e6;
    cursor:pointer;
    font-weight:600;
}

.toolbar{
    display:flex;
    justify-content:space-between;
    margin-bottom:30px;
}

.filter{
    display:flex;
    align-items:center;
    gap:10px;
}

.filter select{
    width:160px;
    height:40px;
    border-radius:8px;
    border:1px solid #d8d8d8;
    padding:0 12px;
}

.view-icons{
    display:flex;
    gap:18px;
}

/* ==========================================
   FOLDERS
========================================== */

.folders{
    display:grid;
    grid-template-columns:repeat(4,260px);
    justify-content:flex-start;
    gap:22px;
}

.folder{
    width:260px;
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    transition:.25s;
}

.folder:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.folder-image{
    height:185px;
    background:#f3f3f3;
    display:flex;
    justify-content:center;
    align-items:center;
}

.folder-svg{
    width:135px;
}

.folder-info{
    padding:16px;
}

.folder-info h4{
    font-size:17px;
    margin-bottom:6px;
}

.folder-info p{
    font-size:12px;
    color:#888;
    letter-spacing:1px;
}

/* ==========================================
   PREPARING DOCUMENT SCREEN
========================================== */

.loading-screen{
    position:fixed;
    inset:0;
    background:#ffffff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:10000;
}

.loading-screen p{
    margin-top:20px;
    font-size:18px;
    font-weight:500;
    color:#444;
}

.loader{
    width:65px;
    height:65px;
    border:6px solid #ececec;
    border-top:6px solid #ea1001;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/* ==========================================
   FINALIZING DOWNLOAD OVERLAY
========================================== */

.spinner-screen{
    position:fixed;
    inset:0;

    display:none;
    justify-content:center;
    align-items:center;
    flex-direction:column;

    z-index:9998;

    /* No background */
    background:transparent;

    pointer-events:none;
}

.spinner-screen.show{
    display:flex;
}

/* Spinner */

.spinner-loader{
    width:70px;
    height:70px;

    border:6px solid #ececec;
    border-top:6px solid #ea1001;

    border-radius:50%;

    animation:spin 1s linear infinite;
}

/* Text */

.spinner-screen h3{
    margin-top:22px;
    font-size:24px;
    font-weight:600;
    color:#222;
}

.spinner-screen p{
    margin-top:8px;
    font-size:15px;
    color:#666;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}
/* ==========================================
   DOWNLOAD COMPLETE POPUP
========================================== */
.popup-instructions{
    margin:25px 0;
    text-align:left;
}

.popup-instructions p{
    margin-bottom:12px;
    font-weight:600;
    color:#222;
}

.popup-instructions ul{
    margin-left:22px;
    color:#555;
    line-height:1.8;
}

.popup-instructions li{
    margin-bottom:8px;
}
.popup-container{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.25);
    backdrop-filter:blur(2px);
    z-index:9999;
}

.popup-container.show{
    display:flex;
}

.popup{
    width:560px;
    background:#fff;
    border-radius:14px;
    padding:45px 55px;
    text-align:center;
    box-shadow:0 18px 45px rgba(0,0,0,.25);
    animation:popup .35s ease;
}

.popup-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-bottom:22px;
}

.popup-logo img{
    width:64px;
    margin-bottom:12px;
}

.popup h1{
    font-size:32px;
    margin-bottom:20px;
}

.popup p{
    color:#555;
    line-height:1.7;
    margin-bottom:16px;
}

.download-btn{
    width:260px;
    height:50px;
    margin-top:12px;
    border:none;
    border-radius:6px;
    background:#ea1001;
    color:#fff;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.download-btn:hover{
    background:#c20c00;
}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes popup{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:none;
    }
}