/*
# Author: Arthur Angotti
# Modified by: Jonathan Ramirez-Molina
# Date: 4/8/2026
# File: routes.py
# Description: Sub CSS file for users
 */


.user-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.user-list h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}


.user-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.user-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


.user-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid #ddd;
}


.user-item p {
    margin: 5px 0;
}

.user-info {
    flex-grow: 1;
}

.user-item p strong {
    color: #222;
}


.user-item a {
    margin-left: auto;
    text-decoration: none;
    color: #6975dd;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

.user-item a:hover {
    background-color: #6975dd;
    color: #fff;
}


.user-detail {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.user-detail img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    margin-bottom: 15px;
}


.user-detail p {
    margin: 10px 0;
    font-size: 16px;
}


.user-detail a {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: #6975dd;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

.user-detail a:hover {
    background-color: #6975dd;
    color: #fff;
}


/* sort  b u t t o n s */
.sort-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}
.sort-buttons a {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid #6975dd;

    color: #6975dd;
    text-decoration: none;

    transition: all 0.2s ease;
}
.sort-buttons a:hover {
    background: linear-gradient(to right, #6975dd, #7355b0);
    color: white;

    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


/* disclaimer */
.disclaimer {
    background: #fff8e6;
    border: 1px solid #ffe3a3;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.disclaimer p {
    margin: 0;
    font-size: 13px;
    color: #5c4a00;
    line-height: 1.5;
}