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


.header {
    background-color: #111;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}
.header a:hover {
    text-decoration: underline;
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 300px;
}


h2 {
    text-align: center;
    margin-bottom: 20px;
}


input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
        .table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0;
        }

button {
    width: 100%;
    padding: 10px;
    background-color: #3c4a57;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #2d333a;
}


.footer {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.footer a {
    text-decoration: none;
    color: #0078d7;
}


.error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}


.dashboard {
    padding: 20px;
}

.cards {
    display: flex;
    justify-content: center;  
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}


.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;

    
    width: calc(25% - 20px);
    min-width: 200px; /* prevents breaking on small screens */
}


@media (max-width: 900px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 500px) {
    .card {
        width: 100%;
    }
}
.card h3 {
    margin: 10px 0;
}

.card .number {
    font-size: 28px;
    font-weight: bold;
    color: #44413a;
}


a {
    color: #0078d7;
}

a:hover {
    text-decoration: underline;
}.table-wrapper {
            background: white;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            overflow-x: auto;
        }

       
        table {
            width: 100%;
            border-collapse: separate;
            /* border-spacing: 0 12px; */
        }

      
        th {
            background: #3c4a57;
            color: white;
            padding: 12px;
            text-align: left;
        }

        th:first-child {
            border-radius: 10px 0 0 10px;
        }

        th:last-child {
            border-radius: 0 10px 10px 0;
        }

       
        tbody tr {
            background: #ebe9e9;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        tbody tr:nth-child(even) {
            background: #ffffff;
        }

        tbody tr td {
            background: transparent;
            padding: 12px;
            vertical-align: top;
        }

        tbody tr td:first-child {
            border-radius: 0 12px 12px 0;
        }

        tbody tr td:last-child {
            border-radius: 0 12px 12px 0;
        }

        tbody tr:hover {
            background: #eaf3ff;
            transition: 0.2s;
        }

   
        .software {
            font-weight: bold;
            color: #0078d7;
            display: flex;
            align-items: center;
            gap: 8px;
        }

   
        .badge {
            background: #ff9800;
            color: white;
            font-size: 12px;
            padding: 3px 8px;
            border-radius: 20px;
            font-weight: bold;
        }

    
        .user {
            background: #f8f9fb;
            padding: 10px;
            border-radius: 10px;
            margin-bottom: 8px;
            border-left: 3px solid #0078d7;
        }

        .pc {
            color: #555;
            font-size: 13px;
        }