/*
|--------------------------------------------------------------------------
| Film Practitioners Africa
| Version 2.0
|--------------------------------------------------------------------------
*/

/*==================================================
    GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*==================================================
    CORE
==================================================*/

@import "variables.css";
@import "reset.css";
@import "typography.css";

/*==================================================
    LAYOUT
==================================================*/

@import "layout.css";
@import "header.css";
@import "drawer.css";
@import "navigation.css";
@import "footer.css";

/*==================================================
    COMPONENTS
==================================================*/

@import "buttons.css";
@import "cards.css";
@import "forms.css";
@import "notifications.css";

/*==================================================
    PAGES
==================================================*/

@import "feed.css";
@import "profile.css";
@import "dashboard.css";
@import "directory.css";
@import "projects.css";
@import "events.css";

/*==================================================
    UTILITIES
==================================================*/

@import "animations.css";
@import "responsive.css";

/*==================================================
    ROOT
==================================================*/

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:#f5f7fb;

    color:#222;

    line-height:1.6;

    overflow-x:hidden;

    min-height:100vh;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

}

body.drawer-open{

    overflow:hidden;

}

/*==================================================
    APP
==================================================*/

#app{

    min-height:100vh;

    display:flex;

    flex-direction:column;

}

.site-main{

    flex:1;

    width:100%;

    padding:32px 0 100px;

}

/*==================================================
    CONTAINER
==================================================*/

.container{

    width:min(1400px,94%);

    margin:auto;

}

/*==================================================
    GRID
==================================================*/

.grid{

    display:grid;

    gap:24px;

}

.grid-2{

    grid-template-columns:repeat(2,1fr);

}

.grid-3{

    grid-template-columns:repeat(3,1fr);

}

.grid-4{

    grid-template-columns:repeat(4,1fr);

}

/*==================================================
    FLEX
==================================================*/

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    align-items:center;

    justify-content:center;

}

.flex-between{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*==================================================
    SPACING
==================================================*/

.mt-10{margin-top:10px;}
.mt-20{margin-top:20px;}
.mt-30{margin-top:30px;}
.mt-40{margin-top:40px;}
.mt-60{margin-top:60px;}

.mb-10{margin-bottom:10px;}
.mb-20{margin-bottom:20px;}
.mb-30{margin-bottom:30px;}
.mb-40{margin-bottom:40px;}

.py-40{

    padding:40px 0;

}

.py-60{

    padding:60px 0;

}

/*==================================================
    PAGE HEADER
==================================================*/

.page-header{

    margin-bottom:40px;

}

.page-header h1{

    font-size:42px;

    font-weight:800;

    margin-bottom:10px;

}

.page-header p{

    max-width:760px;

    color:#666;

}

/*==================================================
    SECTION
==================================================*/

.section{

    margin-bottom:60px;

}

/*==================================================
    PANEL
==================================================*/

.panel{

    background:#fff;

    border-radius:20px;

    padding:24px;

    box-shadow:0 8px 30px rgba(0,0,0,.05);

}

/*==================================================
    BADGES
==================================================*/

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:6px 12px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

}

.badge-success{

    background:#eaf9ef;

    color:#0A7D4D;

}

.badge-warning{

    background:#fff7df;

    color:#9a6700;

}

.badge-danger{

    background:#ffeaea;

    color:#dc2626;

}

/*==================================================
    LOADER
==================================================*/

.page-loader{

    position:fixed;

    inset:0;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(3px);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99999;

}

.page-loader.hidden{

    display:none;

}

.loader-spinner{

    width:48px;

    height:48px;

    border:4px solid #e5e7eb;

    border-top-color:#0A7D4D;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/*==================================================
    TOAST
==================================================*/

#toast-container{

    position:fixed;

    right:20px;

    top:90px;

    display:flex;

    flex-direction:column;

    gap:12px;

    z-index:99999;

}

.toast{

    min-width:280px;

    padding:16px 18px;

    border-radius:14px;

    background:#111827;

    color:#fff;

    transform:translateX(120%);

    opacity:0;

    transition:.3s;

    box-shadow:0 12px 35px rgba(0,0,0,.18);

}

.toast.show{

    opacity:1;

    transform:translateX(0);

}

.toast.success{

    background:#0A7D4D;

}

.toast.error{

    background:#dc2626;

}

.toast.warning{

    background:#d97706;

}

/*==================================================
    SCROLL TO TOP
==================================================*/

.scroll-top{

    position:fixed;

    right:24px;

    bottom:100px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#0A7D4D;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:998;

}

.scroll-top.show{

    opacity:1;

    visibility:visible;

}

/*==================================================
    RIPPLE
==================================================*/

.ripple{

    position:absolute;

    width:12px;

    height:12px;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    transform:translate(-50%,-50%);

    animation:ripple .6s linear;

}

@keyframes ripple{

    from{

        opacity:.6;

        transform:translate(-50%,-50%) scale(1);

    }

    to{

        opacity:0;

        transform:translate(-50%,-50%) scale(15);

    }

}

/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:992px){

    .grid-4{

        grid-template-columns:repeat(2,1fr);

    }

    .grid-3{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .site-main{

        padding-bottom:90px;

    }

    .page-header h1{

        font-size:32px;

    }

    .grid-2,
    .grid-3,
    .grid-4{

        grid-template-columns:1fr;

    }

}

@media(max-width:480px){

    .container{

        width:95%;

    }

    #toast-container{

        left:12px;

        right:12px;

        top:76px;

    }

    .toast{

        min-width:unset;

        width:100%;

    }

}