svg {
	font-size: 14px;
	font-weight: 600;
}

.shop {
	display: flex;
	justify-content: center;
	cursor: pointer;
}

.shop .bg {
	border-radius: 8px;
	width: 100%;
	background-size: cover;
	background-position: 50%;
}

.shop .bg .price {
	padding: 12px;
	position: absolute;
	background-color: #0044c182;
	border-top-left-radius: 8px;
}

.shop span {
	position: absolute;
	bottom: 0;
	margin-bottom: 8px !important;
	color: #fbff00;
	text-shadow: 1px 1px #506a00;
}

.icon-like {
 color: #a04cd5;;
}

ul.applications,
ul.players,
ul.info,
ul.clans {
	margin-left: 0;
	padding-left: 0;
	margin-bottom: 0;
}



/* Каждая карточка клана */
ul.clans li {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;          /* скругление углов */
    transition: all 0.2s ease;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* линия между кланами */
}

    /* Убираем линию у последнего элемента */
ul.clans li:last-child {
    border-bottom: none;
}


ul.applications li,
ul.players li,
ul.info li {
	display: flex;
	align-items: center;
	width: 100%;
	list-style-type: none;
	height: 32px;
	font-size: 12px;
	margin-bottom: 32px;
}



/* hover эффект */
ul.clans li:hover {
    background: rgba(96, 128, 255, 0.1);
    margin-right: 8px;
	border-radius: 8px;
}

ul.applications li:last-child,
ul.players li:last-child,
ul.info li:last-child {
	margin-bottom: 0;
}

ul.applications li {
	width: 100%;
	height: 40px;
}

ul.applications .btn-sm{
	margin-bottom: 0;
}

ul.applications li .name {
	font-size: 16px;
	width: 40%;
}

ul.applications li .buttons {
	display: flex;
	justify-content: end;
	width: 60%;
}

.clans.more .details img,
ul.players li img,
ul.info li img {
	width: 32px;
	height: 32px;
	margin-right: 8px;
	border-radius: 8px;
}

/* Логотип клана — круглое */
ul.clans li img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}



.clans.more .details p,
ul.players li p,
ul.info li p,
ul.clans li .content p {
	margin-bottom: 0;
    font-size: 16px;
}

.clans.more .details span,
ul.players li span,
ul.info li span,
ul.clans li .content span {
	color: #7c7c7c;
	margin-bottom: 0;
}



ul.players li .nickname,
ul.players li .info,
ul.players li .player,
ul.players li .rating,
ul.players li .date-enter {
	display: flex;
	align-items: center;
	width: 25%;
}

ul.clans li .name {
    font-weight: 600;
    color: #fff;
}

ul.clans li .name,
ul.clans li .creator,
ul.clans li .users, 
ul.clans li .rating,
ul.clans li .date-create {
	display: flex;
	align-items: center;
	width: 20%;
}

svg {
	margin-right: 8px;
}

button svg {
	margin-right: 0;
}

.clans.more .cover {
	min-height: 20rem;
	background-position: center;
	margin-bottom: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.clans.more .details {
	display: inline-grid;
	align-items: center;
	width: 100%;
	height: 60px;
	background-color: #222127;
	margin-bottom: 30px;
	border-radius: 0 0 8px 8px;
	padding: 16px;
}

.clans.more .details img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.bi.bi-star:hover {
	cursor: pointer;
}

.bi.bi-star.active {
	color: #a04cd5;
}

#list_role .input-group input.form-control {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

#list_role .input-group select.form-control {
	border-radius: 0;
}

.input-group-btn button {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group input.form-control[readonly] {
	background-color: #36353e !important;
}

.g_smile {
    vertical-align: middle;
    display: inline-block;
    margin: 0 2px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .clans.more {
        order: 2 !important;
    }
    
    .order-is-last {
        order: 1 !important;
        margin-bottom: 20px;
    }
}

/* Улучшение внешнего вида блока управления */
.clans .block {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* Общий блок */
.clans-block {
    padding: 16px;
    border-radius: 8px;
    background: #1e1d24;
}

.clans-block .block_header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Кнопка "Создать клан" */
.btn-create {
    background: #6080ff;
    border-color: #6080ff;
    color: #fff;
    font-weight: 600;
}

.btn-create:hover {
    background: #4866d4;
    border-color: #4866d4;
    color: #fff;
}

/* Заголовок блока */
.block_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
}

.clans-list::-webkit-scrollbar {
    width: 6px;
}
.clans-list::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 3px;
}

/* Стили для кнопок */
.clans .btn-default {
    background: #4a4a6a;
    border-color: #4a4a6a;
    color: #e6e6e6;
}

.clans .btn-default:hover {
    background: #5a5a7a;
    border-color: #5a5a7a;
    color: white;
}

/* Отступы между блоками в правой колонке */
.right_block .block {
    margin-bottom: 20px; /* регулируй по вкусу */
}

/* Управление высотой блока */
.right_block .block.resizable {
    min-height: 100px;   /* минимальная высота */
    max-height: 400px;   /* максимальная высота */
    height: auto;        /* можно менять через JS или вручную */
    overflow-y: auto;    /* прокрутка, если контент превышает max-height */
}

.right_block .block:last-child {
    margin-bottom: 0;
}

/* Все кнопки в блоке управления — убрать фон и рамку, сделать жирными */
.right_block .block > .btn {
    background: none !important; /* убираем фон */
    border: none !important;     /* убираем рамку */
    color: rgb(255, 255, 255) !important;      /* цвет текста (тёмный) */
    text-align: left;            /* выравнивание текста слева */
    padding-left: 0;             /* убрать лишние отступы слева */
    box-shadow: none;            /* убрать тени */
}

/* Новый стиль кнопок блока управления */
.clan-control-btn {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    background: none;
    border: 1.5px solid transparent; /* задать постоянную ширину рамки */
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    text-align: left;
    padding: 16px 12px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    transition: border-color 0.3s ease, background-color 0.3s ease; /* плавный переход */
}

/* Иконка */
.clan-control-btn i {
    font-size: 18px;
    flex-shrink: 0;
    color: #6080ff;
}

/* hover — обводка и текст */
.clan-control-btn:hover {
    color: #ffffff;           /* текст остаётся белым */
    border-color: #6080ff;    /* цвет обводки при наведении */
	border-width: 1.5px; /* увеличиваем толщину обводки при наведении */
	background-color: rgba(96, 128, 255, 0.1); /* бледный синий фон */
    text-decoration: none;
}

/* Отступ между кнопками блока управления */
.right_block .block > .clan-control-btn {
    margin-bottom: 12px; /* регулируй по вкусу, например 12px или 16px */
}

/* Чтобы последняя кнопка не имела лишнего отступа */
.right_block .block > .clan-control-btn:last-child {
    margin-bottom: 0;
}

.player-card img {
    width: 40px;
    height: 40px;
    border-radius: 5px; /* вместо 5px для круглого аватара */
    flex-shrink: 0;
    transition: transform 0.3s;
}
.player-card img:hover {
    transform: scale(1.1);
}

.player-name {
    font-size: 12px; /* раньше 12px */
    font-weight: 600;
    color: #fff;
}
.player-group {
    font-size: 10px; /* раньше 10px */
    color: #aaa;
}


.player-date, .player-rating {
    min-width: 60px; /* чуть шире */
    text-align: center;
    font-size: 11px; /* чуть увеличили */
    color: #fff;
}
.player-rating svg {
    width: 18px;
    height: 18px;
}


.player-rating svg:hover {
    transform: scale(1.2);
}

.player-card:hover {
    
    border-color: #6080ff;    /* цвет обводки при наведении */
	border-width: 1.5px; /* увеличиваем толщину обводки при наведении */
	background-color: rgba(96, 128, 255, 0.1); /* бледный синий фон */
    text-decoration: none;
}

#chat_clan_messages {
    max-height: 480px; /* высота блока чата */
    overflow-y: auto;  /* вертикальная прокрутка */
    padding: 10px;     /* отступы внутри */
    
    border-radius: 8px;   /* скругление углов */
}


#chat_clan_messages::-webkit-scrollbar {
    width: 6px;
}

#chat_clan_messages::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 3px;
}

.delete-clan-btn {
    background: #ff0015 !important;
    color: white !important;
    font-weight: 600;
    border: none;
}

.delete-clan-btn:hover {
    background: #ff00156b !important;
    border-color: #ff000067 !important;
    color: white !important;
}