/*
    @project: d4tech-forum
    @author: Maciej "D4NTE" W.
    @perms: Nie zezwalam na wykorzystywanie mojego kodu bez mojej zgody.
    @file: style.css
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --accent: #e74c3c;        
    --accent-hover: #c0392b;
    --accent-glow: rgba(255, 76, 76, 0.4);
}

.staff-carousel {
    position: relative;
    overflow: hidden;
}

.staff-slide {
    display: none;
    text-align: center;
    padding: 15px 0;
}

.staff-slide.active {
    display: block;
}

.staff-avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #444;
}

.staff-info {
    color: #ccc;
}

.staff-username a {
    font-weight: bold;
    color: #ccdfec;
    text-decoration: none;
}

.staff-username i {
    margin-right: 6px;
}

.staff-rank {
    font-size: 13px;
    margin-top: 5px;
}

.staff-links {
    margin-top: 10px;
}

.staff-links a {
    color: #ccc;
    margin: 0 6px;
    font-size: 18px;
    transition: color 0.3s;
}

.staff-links a:hover {
    color: #e74c3c;
}

.staff-dots {
    text-align: center;
    margin-top: 10px;
}

.staff-dots .dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #888;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.staff-dots .dot.active,
.staff-dots .dot:hover {
    background-color: #e74c3c;
}


/* nowe */
.sidebar-module.staff-list {
    background: #1f1f1f;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.staff-carousel {
    position: relative;
    overflow: hidden;
    height: 250px; /* wysokość dopasuj wg zawartości */
}

.staff-slide-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.staff-slide {
    min-width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease-in-out;
    text-align: center;
}

.staff-slide.active {
    display: flex;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.staff-avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.staff-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid #555;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.staff-avatar:hover {
    transform: scale(1.05);
}

.staff-info {
    color: #ccc;
}

.staff-username {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.staff-rank {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.staff-links a {
    color: #ccc;
    margin: 0 6px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.staff-links a:hover {
    color: #e74c3c;
}

.staff-dots {
    text-align: center;
    margin-top: 12px;
}

.staff-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #888;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.staff-dots .dot.active {
    background-color: #e74c3c;
}
