/* ===========================
   Reset
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#F5F7FA;
    color:#222;
}

/* ===========================
   Layout
=========================== */

.af-wrapper{
    display:flex;
    min-height:100vh;
}

/* ===========================
   Sidebar
=========================== */

.af-sidebar{
    width:260px;
    background:#14283E;
    color:#fff;
    padding:30px;
}

.af-sidebar h1{
    margin-bottom:40px;
    font-size:42px;
    font-weight:700;
}

.af-sidebar ul{
    list-style:none;
    margin:0;
    padding:0;
}

.af-sidebar li{
    margin-bottom:12px;
}

.af-sidebar a{
    display:block;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    padding:12px 16px;
    border-radius:8px;
    transition:all .25s ease;
}

.af-sidebar a:hover{
    background:rgba(255,255,255,.12);
}

.af-sidebar a:visited{
    color:#fff;
}

/* ===========================
   Main Content
=========================== */

.af-main{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* ===========================
   Top Bar
=========================== */

.af-topbar{
    height:80px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    border-bottom:1px solid #e6e6e6;
}

.af-topbar h2{
    font-size:24px;
}

.af-user{
    font-weight:600;
}

/* ===========================
   Dashboard Content
=========================== */

.af-content{
    flex:1;
    padding:40px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

/* ===========================
   Cards
=========================== */

.card{
    background:#fff;
    border-radius:14px;
    padding:30px;
    min-height:170px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    transition:.25s;
}

.card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(0,0,0,.10);
}
.card h3{
    font-size:20px;
    margin-bottom:20px;
    color:#555;
}

.card h1{
    font-size:54px;
    margin-bottom:12px;
    color:#14283E;
}

.card p{
    color:#888;
    font-size:15px;
}
/*=========================
Tables
==========================*/

.af-table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}

.af-table th{

    background:#14283E;

    color:white;

    padding:14px;

    text-align:left;

}

.af-table td{

    padding:14px;

    border-bottom:1px solid #eee;

}

.af-table tr:hover{

    background:#f7f9fc;

}
/* LOGIN PAGE */

.af-login-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
    background:#F5F7FA;
}

.af-login-box{
    width:420px;
    background:#fff;
    padding:50px;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.af-login-box h1{
    font-size:34px;
    margin-bottom:10px;
    color:#14283E;
}

.af-login-box p{
    color:#777;
    margin-bottom:30px;
}

.af-login-box label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.af-login-box input[type=text],
.af-login-box input[type=password]{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    margin-bottom:20px;
}

.af-login-box input[type=submit]{
    width:100%;
    padding:15px;
    background:#14283E;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
}

.af-login-box input[type=submit]:hover{
    background:#1d3b5c;
}

