@font-face {
    font-family: 'IranSans';
    src: url('../font/IRANSans.ttf');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IranSans', sans-serif;
    direction: rtl;
}
body {
    background-color: #f4f4f9;
    color: #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 20px;
}
.container {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    text-align: center;
    position: relative;
}
.ad-id {
    position: absolute;
    left: 10px;
    background-color: rgba(26, 115, 232, 0.2);
    color: #1a73e8;
    border: 2px solid #1a73e8;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.9em;
}
h2 {
    text-align: right;
    font-size: 1.5em;
    margin-bottom: 20px;
}
.user-list {
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-top: 40px;
}
.user-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 20px 0;
    width: 100%;
    text-align: right;
    transition: transform 0.2s ease;
    position: relative;
}
.user-card .ad-id {
	direction: ltr;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(255 255 255);
    color: #000000c9;
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 1em;
	font-weight: bold;
}
.user-card:hover {
    transform: scale(1.02);
}
.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.user-rating {
    position: absolute;
    top: -22px;
    left: 15px;
    color: #f57c00;
    background-color: #ffffff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
.user-ad {
    color: #8e8e8e;
    font-size: 0.9em;
}
.user-card::before {
    content: attr(data-number);
    position: absolute;
    top: -22px;
    background-color: #ffffff;
    color: #477de8;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}