/* Clean Post Battle Loot Screen Styles - Unity UI Toolkit Compatible */

/* Main Overlay */
.loot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.loot-background {
    background-color: rgba(20, 20, 30, 0.95);
    border-width: 2px;
    border-color: rgb(180, 140, 60);
    border-radius: 15px;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    max-height: 90%;
    flex-direction: column;
    justify-content: flex-start;
}

/* Header Section */
.header-section {
    align-items: center;
    margin-bottom: 20px;
}

.victory-title {
    font-size: 32px;
    color: rgb(255, 215, 0);
    margin-bottom: 5px;
    -unity-text-align: center;
    -unity-font-style: bold;
}

.victory-subtitle {
    font-size: 18px;
    color: rgb(200, 200, 200);
    -unity-text-align: center;
    -unity-font-style: italic;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    flex-direction: column;
}

.enemy-loot-section {
    background-color: rgba(40, 40, 50, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.total-rewards-section {
    background-color: rgba(60, 40, 20, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 20px;
    color: rgb(255, 215, 0);
    margin-bottom: 10px;
    -unity-text-align: center;
    -unity-font-style: bold;
}

.enemy-loot-list {
    max-height: 150px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
}

.enemy-loot-item {
    margin-bottom: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.enemy-name {
    font-size: 16px;
    color: rgb(255, 100, 100);
    margin-bottom: 5px;
    -unity-font-style: bold;
}

.enemy-rewards {
    flex-direction: row;
    margin-bottom: 5px;
}

.enemy-items {
    flex-direction: column;
}

/* Currency Display */
.currency-display {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.currency-item {
    align-items: center;
    flex-direction: column;
}

.currency-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.currency-amount {
    font-size: 20px;
    color: rgb(255, 215, 0);
    margin-bottom: 3px;
    -unity-font-style: bold;
}

.currency-label {
    font-size: 12px;
    color: rgb(200, 200, 200);
}

/* Items Display */
.items-display {
    margin-top: 10px;
}

.items-title {
    font-size: 16px;
    color: rgb(180, 180, 180);
    margin-bottom: 10px;
    -unity-text-align: center;
}

.items-list {
    max-height: 100px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
}

.item-entry {
    color: rgb(150, 200, 150);
    margin-bottom: 3px;
}

/* Footer Section */
.footer-section {
    align-items: center;
    margin-top: 20px;
}

.continue-prompt {
    font-size: 16px;
    color: rgb(200, 200, 200);
    margin-bottom: 15px;
    -unity-text-align: center;
}

.button-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.action-button {
    min-width: 120px;
    height: 40px;
    margin: 0 10px;
    border-radius: 20px;
    font-size: 16px;
    -unity-font-style: bold;
    cursor: pointer;
}

.primary-button {
    background-color: rgb(100, 150, 100);
    border-color: rgb(120, 180, 120);
    color: rgb(255, 255, 255);
}

.primary-button:hover {
    background-color: rgb(120, 180, 120);
    border-color: rgb(140, 200, 140);
}

.secondary-button {
    background-color: rgb(80, 80, 120);
    border-color: rgb(100, 100, 140);
    color: rgb(255, 255, 255);
}

.secondary-button:hover {
    background-color: rgb(100, 100, 140);
    border-color: rgb(120, 120, 160);
}
