/* Vispārējā atiestatīšana un stili */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    color: #333;
}

/* Galvenes stils */
header {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s, border-bottom 0.3s;
}

nav ul li a.active,
nav ul li a:hover {
    color: #6c63ff;
    border-bottom: 2px solid #6c63ff;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info .username {
    font-weight: bold;
    color: #4e54c8;
}

.logout {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.logout img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* Tabulas stils */
.table-container {
    margin: 100px auto;
    width: 90%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

thead {
    background-color: #6c63ff;
    color: #fff;
}

thead th {
    padding: 15px;
    font-size: 1rem;
}

tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

/* Darbību pogu stils */
.actions {
    text-align: center;
    margin: 20px 0;
}

.clock-btn {
    padding: 10px 20px;
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.clock-btn:hover {
    background-color: #4e54c8;
}

/* Profila pogas stils */
.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.profile-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.profile-btn:hover {
    transform: scale(1.1);
}

/* Izrakstīšanās pogas stils */
.logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #ff4d4d;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.logout:hover {
    background-color: #e60000;
    transform: translateY(-2px);
}

.logout:active {
    background-color: #cc0000;
    transform: translateY(0);
}