/* Item Selection UI Styles */

.item-selection-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    display: flex;
}

.item-selection-modal {
    background-color: rgb(45, 45, 45);
    border-color: rgb(100, 100, 100);
    border-width: 2px;
    border-radius: 8px;
    width: 400px;
    height: 500px;
    padding: 0;
}

.header {
    background-color: rgb(60, 60, 60);
    border-bottom-width: 1px;
    border-bottom-color: rgb(100, 100, 100);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.title {
    font-size: 18px;
    color: rgb(255, 255, 255);
    -unity-font-style: bold;
    margin: 0;
}

.close-button {
    width: 25px;
    height: 25px;
    background-color: rgb(200, 80, 80);
    border-radius: 12px;
    border-width: 0;
    color: white;
    font-size: 16px;
    -unity-font-style: bold;
}

.close-button:hover {
    background-color: rgb(220, 100, 100);
}

.close-button:active {
    background-color: rgb(180, 60, 60);
}

.content {
    padding: 15px;
    flex-grow: 1;
}

.character-label {
    font-size: 16px;
    color: rgb(255, 220, 100);
    -unity-font-style: bold;
    margin-bottom: 10px;
    -unity-text-align: middle-center;
}

.instruction-label {
    font-size: 14px;
    color: rgb(200, 200, 200);
    margin-bottom: 15px;
    -unity-text-align: middle-center;
}

.item-scroll-view {
    flex-grow: 1;
    margin-bottom: 15px;
}

.item-list {
    flex-grow: 1;
}

.item-button {
    background-color: rgb(60, 60, 60);
    border-color: rgb(100, 100, 100);
    border-width: 1px;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 12px 15px;
    flex-direction: column;
    align-items: stretch;
}

.item-button:hover {
    background-color: rgb(80, 80, 80);
    border-color: rgb(150, 150, 150);
}

.item-button:active {
    background-color: rgb(100, 100, 100);
}

.item-name {
    font-size: 14px;
    color: rgb(255, 255, 255);
    -unity-font-style: bold;
    margin-bottom: 4px;
}

.item-description {
    font-size: 12px;
    color: rgb(180, 180, 180);
    -unity-font-style: italic;
}

.no-items-container {
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.no-items-label {
    font-size: 14px;
    color: rgb(150, 150, 150);
    -unity-font-style: italic;
    -unity-text-align: middle-center;
}

.footer {
    background-color: rgb(50, 50, 50);
    border-top-width: 1px;
    border-top-color: rgb(100, 100, 100);
    padding: 10px 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.cancel-button {
    background-color: rgb(120, 120, 120);
    border-color: rgb(100, 100, 100);
    border-width: 1px;
    border-radius: 4px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
}

.cancel-button:hover {
    background-color: rgb(140, 140, 140);
}

.cancel-button:active {
    background-color: rgb(100, 100, 100);
}

.help-text {
    font-size: 12px;
    color: rgb(150, 150, 150);
    -unity-font-style: italic;
}
