body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f5f5f5;
}

header{
    background:#071A2E;
    color:white;
    padding:40px;
    text-align:center;
}

section{
    padding:20px;
    background:white;
    margin:20px auto;
    max-width:900px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.hidden{
    display:none;
}

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.dashboard-box{
    padding:20px;
    background:#f7fbff;
    border-radius:14px;
    margin-bottom:20px;
}

.dashboard-form{
    display:grid;
    gap:16px;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea{
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    width:100%;
}

.dashboard-form textarea{
    min-height:120px;
    resize:vertical;
}

.dashboard-section p{
    margin-top:0;
}

button.secondary,
.button.secondary{
    background:#f2f2f2;
    color:#071A2E;
}

button.secondary:hover,
.button.secondary:hover{
    background:#d9d9d9;
}

footer{
    background:#071A2E;
    color:white;
    text-align:center;
    padding:20px;
}

main{
    max-width:1100px;
    margin:0 auto;
}

.login-form{
    display:grid;
    gap:16px;
    max-width:500px;
}

.login-form label{
    font-weight:bold;
}

.login-form input{
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    width:100%;
}

.login-note{
    margin-top:0;
    margin-bottom:18px;
    color:#333;
}

.login-result{
    margin-top:20px;
    padding:14px 16px;
    border-radius:10px;
    font-weight:bold;
}

.login-result.success{
    background:#d4f9e8;
    color:#0f4d2d;
    border:1px solid #8ae2b4;
}

.login-result.error{
    background:#ffe1e1;
    color:#8e1f1f;
    border:1px solid #f0a3a3;
}

.cards-grid{
    display:grid;
    gap:20px;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    margin-top:20px;
}

.category-card{
    display:flex;
    flex-direction:column;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.category-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.category-card div{
    padding:18px;
    flex:1;
    display:flex;
    flex-direction:column;
}

.category-card h3{
    margin-top:0;
}

.category-card p{
    flex:1;
    margin-bottom:16px;
}
@media (max-width:768px){

    header{
        padding:20px;
    }

    h1{
        font-size:30px;
    }

    h2{
        font-size:22px;
    }

    body{
        font-size:18px;
    }
}
nav{
    margin-bottom:30px;
}

nav a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    font-size:18px;
    font-weight:bold;
}

nav a:hover{
    color:#00c3ff;
}

.button{
    display:inline-block;
    background:#00c3ff;
    color:#071A2E;
    text-decoration:none;
    padding:12px 24px;
    border-radius:8px;
    font-weight:bold;
    margin-top:12px;
}

.button:hover{
    background:#00a0d6;
}
