/* Custom styles for timesheet application */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer {
    padding: 1rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
}

.badge {
    font-size: 0.9em;
}

/* Avatar styles - единая точка для стиля оформления аватара */
.avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #6c757d !important; /* Толстая серая обводка */
    box-sizing: border-box !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

.avatar-sm {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #6c757d !important;
    box-sizing: border-box !important;
}

.avatar-lg {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #6c757d !important;
    box-sizing: border-box !important;
}

.avatar-xl {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #6c757d !important;
    box-sizing: border-box !important;
}

.avatar-xxl {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #6c757d !important;
    box-sizing: border-box !important;
}

.avatar-initials {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #6c757d !important; /* Bootstrap secondary color */
    color: white !important;
    font-weight: bold !important;
    font-size: 12px !important;
    border: 1px solid #6c757d !important; /* Толстая серая обводка */
    cursor: pointer;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.avatar-initials-sm {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #6c757d !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 10px !important;
    border: 2px solid #6c757d !important;
    cursor: pointer;
    box-sizing: border-box !important;
}

.avatar-initials-lg {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #6c757d !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    border: 4px solid #6c757d !important;
    cursor: pointer;
    box-sizing: border-box !important;
}

.avatar-initials-xl {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #6c757d !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 36px !important;
    border: 5px solid #6c757d !important;
    cursor: pointer;
    box-sizing: border-box !important;
}

.avatar-initials-xxl {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #6c757d !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 48px !important;
    border: 6px solid #6c757d !important;
    cursor: pointer;
    box-sizing: border-box !important;
}

/* Print styles */
@media print {
    .navbar, .btn, .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

