.user-warn-container {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.soft-check-block {
    margin-top: 10px;
}

.soft-check-card {
    position: relative;
    border-radius: 16px;
    padding: 18px 20px;
    border: solid 1px #3b3b48;
    background: linear-gradient(180deg, #2b2b36 0%, #272730 100%);
    box-shadow: 0px 5px 10px #13151a4f;
    color: #d3d5de;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0px 5px 10px #13151a4f;
}

.soft-check-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.soft-check-card::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}

.soft-check-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.soft-check-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b3b49;
    color: #c3c6d6;
    flex: 0 0 40px;
}

.soft-check-icon svg {
    width: 20px;
    height: 20px;
}

.soft-check-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.soft-check-title {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #ffffff;
    text-transform: uppercase;
}

.soft-check-desc {
    font-size: 11px;
    line-height: 16px;
    color: #8e92a3;
}

.soft-check-desc .alert-link {
    color: #c9ccdb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.soft-check-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.soft-check-meta-item {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    color: #8e92a3;
}

.soft-check-meta-item svg {
    width: 14px;
    height: 14px;
    color: #9aa0b2;
}

.soft-check-neutral {
    border-color: #3b3b48;
}

.soft-check-success {
    border-color: #2f6e52;
    background: linear-gradient(1deg, #26352f 30%, #24302b 100%);
}

.soft-check-success::after {
    background: linear-gradient(90deg, transparent, rgba(77, 222, 151, 0.35), transparent);
}

.soft-check-success .soft-check-icon {
    background: #2f6e52;
    color: #dbffee;
}

.soft-check-danger {
    border-color: #7b3a3a;
    background: linear-gradient(1deg, #362829 30%, #2f2424 100%);
}

.soft-check-danger::after {
    background: linear-gradient(90deg, transparent, rgba(255, 118, 118, 0.35), transparent);
}

.soft-check-danger .soft-check-icon {
    background: #7b3a3a;
    color: #ffe3e3;
}

.soft-control-panel {
    background: linear-gradient(1deg, #30303c 30%, #2c2c36 100%);
    border: solid 1px #3b3b48;
    border-radius: 14px;
    padding: 12px;
    margin-top: 10px;
}

.soft-control-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.warns_list .lst_activity_block,
.warns_modal .lst_activity_block {
    position: relative;
    background: linear-gradient(278deg, #343440 10%, #31313c 60%);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #3b3b48;
}

.warns_list .lst_activity_block::before,
.warns_modal .lst_activity_block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 2px;
}

.warns_list .last_activity_theme,
.warns_modal .last_activity_theme {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.warns_list .description_activity,
.warns_modal .description_activity {
    font-size: 10.5px;
    color: #8a8ea0;
}

.warns_list .lst_activity_block:last-child,
.warns_modal .lst_activity_block:last-child {
    margin-bottom: 0;
}

.warns_list .activity_btn,
.warns_modal .activity_btn {
    background: #464654;
    color: #808093;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
}

.warns_list .activity_btn:hover,
.warns_modal .activity_btn:hover {
    background: #4e4e5e;
    color: #ffffff;
}

.warns_list .empty-element,
.warns_modal .empty-element {
    border-radius: 14px;
    background: #3a3a4759;
    display: flex;
    margin-bottom: 0;
    width: 100%;
    font-weight: bold;
    color: #727287;
    font-size: 11px;
    border: dashed 1px #4a4a5b;
    padding: 40px;
    align-items: center;
    justify-content: center;
}

.warns_modal {
    margin-bottom: 0;
}

.user-warn-container .profile_r_block .flex_head_block {
    margin-bottom: 12px;
}

.user-warn-container .profile_r_block .warns_list {
    margin-top: 6px;
}

.btn-soft-check {
    position: relative;
    flex: 1;
    padding: 16px 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 86px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.08) 100%);
}

.btn-soft-check .btn-icon-right {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-soft-check .btn-icon-right svg {
    width: 20px;
    height: 20px;
    opacity: 0.95;
}

.btn-soft-check .btn-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.btn-soft-check .btn-hint {
    font-size: 11px;
    opacity: 0.75;
    font-weight: 400;
}

.btn-soft-check::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 2px;
}

.btn_achivqw {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 10px;
    background: #3a3a4759;
    border: 1px solid #4a4a5b;
    min-width: 90px;
    justify-content: space-between;
}

.btn_achivqw svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.btn_achivqw:hover {
    background: #424253;
    color: #ffffff !important;
}

.btn-soft-success {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
}

.btn-soft-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
}

.btn-soft-neutral {
    background: linear-gradient(135deg, #4a4a58 0%, #3a3a46 100%);
    color: #e4e6f0;
}

.btn-soft-neutral:hover {
    background: linear-gradient(135deg, #5a5a6a 0%, #444451 100%);
}

.btn-soft-check:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.btn-soft-success:hover {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.btn-soft-danger:hover {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.btn_achivqw {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #3a3a4759;
    border: 1px solid #4a4a5b;
    min-width: 96px;
    color: #cfd2de !important;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.6px;
    font-weight: 700;
}

.btn_achivqw svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.btn_achivqw:hover {
    background: #424253;
    color: #ffffff !important;
}

.btn-soft-check:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-soft-check::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-soft-check:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

#warn .modal-content,
#giveWarnModal .modal-content {
    background: linear-gradient(1deg, #25252e 30%, #292932 100%);
    border: 1px solid #3b3b48;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.35);
    overflow: hidden;
}

#warn .modal-header,
#giveWarnModal .modal-header {
    border-bottom: 1px solid #3b3b48;
    padding: 14px 16px;
    background: linear-gradient(180deg, #2b2b36 0%, #272730 100%);
}

#warn .modal-body,
#giveWarnModal .modal-body {
    padding: 16px;
}

#warn .modal-footer,
#giveWarnModal .modal-footer {
    border-top: 1px solid #3b3b48;
    padding: 12px 16px;
    background: linear-gradient(180deg, #272730 0%, #25252e 100%);
}

#warn .close,
#giveWarnModal .close {
    color: #cfd2de;
    opacity: 0.8;
    text-shadow: none;
}

#warn .close:hover,
#giveWarnModal .close:hover {
    color: #ffffff;
    opacity: 1;
}

#giveWarnModal .form-control,
#giveWarnModal select.form-control,
#giveWarnModal textarea.form-control {
    background: #2b2b36;
    border: 1px solid #3b3b48;
    color: #d3d5de;
}

#giveWarnModal .form-control:focus {
    border-color: #4a4a5b;
    box-shadow: none;
}

@media (max-width: 768px) {
    .soft-control-buttons {
        flex-direction: column;
    }
}