﻿
.occupation-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #e0f2fe, #f0e7ff);
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 15px;
    position: relative;
    border: 1px solid #cbd5e1;
    transition: 0.3s ease-in-out;
}

    .occupation-card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

.user-im {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    object-position: top center;
    background-color: #f3f4f6;
    border: 2px solid #e2e8f0;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.occupation-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.occupation-info {
    font-size: 16px;
    color: #374151;
    margin-bottom: 3px;
}
.status-bar {
    display: flex;
    align-items: center;
    background-color: #0f172a;
    color: red;
    font-weight: bold;
    padding: 5px 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-top: 15px;
    justify-content: left;
    font-size: 16px;
}

    .status-bar.status-online {
        background-color: green !important;
        color: #fff !important;
    }

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: red;
}

    .status-dot.status-online {
        background-color: #fff;
    }


.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 10px;
}

@media (min-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
