
.character_avatar{
    height: 22px;
    width: auto;
    vertical-align: middle;
}
.ban_avatar{
    display: inline-block;
    height: 25px;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
    flex-shrink: 0;
}
.ban_text{
    display: inline-block;
    margin: 0;
    word-break: break-word;
}

.banned-groups-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0 24px;
}

.banned-group-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.banned-group-title {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.banned-list-viewport {
    overflow: hidden;
    position: relative;
    min-height: 430px;
}

.banned-group-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banned-chara-item {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
    flex-shrink: 0;
}

@keyframes bannedSlideOutLeft {
    from { transform: translateX(0);    opacity: 1; }
    to   { transform: translateX(-32px); opacity: 0; }
}
@keyframes bannedSlideOutRight {
    from { transform: translateX(0);   opacity: 1; }
    to   { transform: translateX(32px); opacity: 0; }
}
@keyframes bannedSlideInRight {
    from { transform: translateX(32px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes bannedSlideInLeft {
    from { transform: translateX(-32px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

.banned-slide-out-left  { animation: bannedSlideOutLeft  0.18s ease-in  forwards; }
.banned-slide-out-right { animation: bannedSlideOutRight 0.18s ease-in  forwards; }
.banned-slide-in-right  { animation: bannedSlideInRight  0.22s ease-out forwards; }
.banned-slide-in-left   { animation: bannedSlideInLeft   0.22s ease-out forwards; }

.banned-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 2px 0;
    flex-wrap: wrap;
    min-height: 14px;
}

.banned-page-dot {
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.2s;
    user-select: none;
    flex-shrink: 0;
}

.banned-page-dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.banned-page-dot.active {
    background: rgba(255, 255, 255, 0.85);
    width: 30px;
}

@media screen and (min-width: 768px) {
    .banned-groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1200px) {
    .banned-groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.nomination_entry {
    display: inline-block;
    margin-top: 10px;
}

.nomination_label {
    padding-right: 8px;
    width: 60px;
}

.nomination_section {
    margin: 20px;
}

.nomination_title {
    text-align: center;
}

.nomination_rule_title {
    margin-left: 10px;
}
.nomination_table{
    margin: 0 auto;
}

.btnItem{
    min-width: 50px;
    border: solid #cdcdcdb9 1px;
    border-radius: 10px;
    margin: 0.2em 0.4em;
    vertical-align: middle;
}
.nomination-row {
    border-radius: 10px;
    
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.suggestions-box {
    position: absolute;
    max-height: 200px;
    overflow-y: auto;
    background: #ffffff;
    color: #000000;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: none;
}
.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
}
.suggestion-item:hover {
    background-color: #3a87fb;
    color: #ffffff;
}
.requirements {
    border-radius: 10px;
    padding: 20px;
    background: #000000;
    margin: 20px 0;
    font-weight:700

}
.requirement {
    margin-bottom: 10px;
    display: block;

}
.requirement-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
}
.requirement-met {
    color: #198754;
}
.requirement-not-met {
    color: #dc3545;
}
.no-results {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}
.loading {
    color: #999;
    padding: 8px 10px;
    font-style: italic;
}
.form-control{
    width: 90%;
}
.highlight {
    background-color: #fff3cd;
    transition: background-color 0.5s ease;
}
.gender-missing {
    background-color: #f8d7da;
    border-color: #dc3545;
}
.gender-select.gender-missing {
    outline: 2px solid #dc3545;
}
@media screen and (max-width: 630px) {
    #nomination_form {
        margin: 0;
    }
    .nomination_block {
        border-bottom: solid white 1px;
        padding-bottom: 5px;
        max-width: 90%;
        margin: auto;
    }

    .nomination_input {
        width: 90%;
    }

    .nomination_entry {
        width: 95%;
    }
}