/* Basic Styles for Admin/Master/Distributor Panels */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

.login-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #333;
}

.login-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 300px;
}

.login-container h2 {
    margin-top: 0;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background: #0056b3;
}

.error {
    color: red;
    margin-bottom: 10px;
    font-size: 0.9em;
}

/* Dashboard Layout */
.dashboard-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 20px;
}

.dashboard-header a {
    color: #ffd700;
    text-decoration: none;
}

.dashboard-sidebar {
    width: 250px;
    background: #34495e;
    color: white;
    position: fixed;
    top: 55px;
    bottom: 0;
    left: 0;
}

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

.dashboard-sidebar li a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #2c3e50;
}

.dashboard-sidebar li a:hover {
    background: #2c3e50;
}

.dashboard-content {
    margin-left: 250px;
    padding: 20px;
}
