/*
Theme Name: Koisua Student-Teacher Portal
Theme URI: https://koisua.com/portal
Author: Koisua Tech Solutions
Author URI: https://koisua.com
Description: Professional portal for students and teachers with sidebar navigation.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koisua-portal
Tags: student, teacher, portal, sidebar, professional, responsive
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f1f1;
}

.koisua-portal-wrapper {
    display: flex;
    min-height: 100vh;
    flex-wrap: nowrap;
}

/* Sidebar */
.koisua-portal-sidebar {
    width: 220px;
    background: #1e73be;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.koisua-portal-sidebar h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.koisua-portal-sidebar ul li {
    margin-bottom: 10px;
}

.koisua-portal-sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.koisua-portal-sidebar ul li a:hover,
.koisua-portal-sidebar ul li a.active {
    background: #0d5a99;
}

/* Content */
.koisua-portal-content {
    flex: 1;
    padding: 30px;
    background: #f1f1f1;
    box-sizing: border-box;
}

.koisua-portal-content h2 {
    margin-top: 0;
}

.koisua-portal-module {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .koisua-portal-wrapper {
        flex-wrap: wrap;
    }
    .koisua-portal-sidebar {
        width: 100%;
    }
    .koisua-portal-content {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .koisua-portal-sidebar {
        padding: 15px;
    }
    .koisua-portal-sidebar h2 {
        font-size: 16px;
    }
    .koisua-portal-sidebar ul li a {
        padding: 6px;
    }
    .koisua-portal-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .koisua-portal-sidebar {
        font-size: 14px;
        padding: 10px;
    }
    .koisua-portal-sidebar h2 {
        font-size: 14px;
    }
    .koisua-portal-sidebar ul li a {
        padding: 5px;
    }
    .koisua-portal-content {
        padding: 10px;
    }
}
