/* Adventurer's Guild UI Styles */

/* Main Quest Board Styles */
.quest-list-item {
    background-color: rgba(45, 45, 45, 0.9);
    border-width: 2px;
    border-color: rgba(100, 100, 100, 0.5);
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px;
    transition-duration: 0.2s;
}

.clickable-quest {
    cursor: link;
    background-color: rgba(60, 60, 60, 0.95);
    border-color: rgba(120, 120, 120, 0.7);
}

.clickable-quest:hover,
.quest-hover {
    background-color: rgba(80, 80, 80, 0.95);
    border-color: rgba(255, 215, 0, 0.8);
    scale: 1.02;
    transition-duration: 0.1s;
}

.quest-list-item.selected {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: rgb(255, 215, 0);
    border-width: 3px;
}

/* Quest Item Header */
.quest-item-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.quest-title-container {
    flex-direction: column;
    flex-grow: 1;
}

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

.quest-click-hint {
    font-size: 12px;
    color: rgba(255, 215, 0, 0.8);
    -unity-font-style: italic;
}

.quest-item-difficulty {
    background-color: rgba(100, 100, 100, 0.8);
    color: rgb(255, 255, 255);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    -unity-font-style: bold;
    -unity-text-align: middle-center;
    min-width: 60px;
}

.difficulty-easy {
    background-color: rgba(46, 125, 50, 0.9);
}

.difficulty-normal {
    background-color: rgba(255, 193, 7, 0.9);
    color: rgb(0, 0, 0);
}

.difficulty-hard {
    background-color: rgba(244, 67, 54, 0.9);
}

.difficulty-legendary {
    background-color: rgba(156, 39, 176, 0.9);
}

/* Quest Description */
.quest-item-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 8px;
    white-space: normal;
}

/* Quest Info Row */
.quest-info-row {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 8px;
}

.quest-info-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Rewards Section */
.quest-item-rewards {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 8px;
    margin-top: 4px;
}

.rewards-label {
    color: rgb(255, 215, 0);
    font-size: 14px;
    -unity-font-style: bold;
    margin-bottom: 4px;
}

.rewards-content {
    flex-direction: row;
    flex-wrap: wrap;
}

.quest-item-reward {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(255, 255, 255);
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    font-size: 12px;
    -unity-font-style: bold;
}

.reward-gold {
    background-color: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: rgb(255, 215, 0);
}

.reward-renown {
    background-color: rgba(63, 81, 181, 0.2);
    border: 1px solid rgba(63, 81, 181, 0.5);
    color: rgb(144, 164, 236);
}

.quest-requirements {
    color: rgba(255, 152, 0, 0.9);
    font-size: 11px;
    margin-top: 4px;
    -unity-font-style: italic;
}

/* Placeholder text */
.placeholder-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    -unity-text-align: middle-center;
    padding: 20px;
    -unity-font-style: italic;
}

/* Instructions text */
.instructions-text {
    color: rgb(255, 215, 0);
    font-size: 14px;
    -unity-text-align: middle-center;
    padding: 12px;
    margin-bottom: 8px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    -unity-font-style: bold;
}

/* Debug button */
.debug-button {
    background-color: rgba(255, 152, 0, 0.8);
    color: rgb(0, 0, 0);
    border-radius: 4px;
    padding: 8px;
    margin: 8px;
    -unity-font-style: bold;
}

.debug-button:hover {
    background-color: rgba(255, 152, 0, 1.0);
}

/* Tab system */
.tab-button {
    background-color: rgba(60, 60, 60, 0.8);
    color: rgba(255, 255, 255, 0.7);
    border-width: 1px;
    border-color: rgba(100, 100, 100, 0.5);
    padding: 8px 16px;
    -unity-font-style: bold;
}

.tab-button:hover {
    background-color: rgba(80, 80, 80, 0.9);
    color: rgb(255, 255, 255);
}

.active-tab {
    background-color: rgba(255, 215, 0, 0.2);
    color: rgb(255, 215, 0);
    border-color: rgb(255, 215, 0);
}

/* Action buttons */
.action-button {
    padding: 12px 24px;
    font-size: 16px;
    -unity-font-style: bold;
    border-radius: 6px;
    margin: 4px;
}

.accept-button {
    background-color: rgba(76, 175, 80, 0.9);
    color: rgb(255, 255, 255);
    border: 2px solid rgba(76, 175, 80, 1.0);
}

.accept-button:hover {
    background-color: rgba(76, 175, 80, 1.0);
    scale: 1.05;
}

.abandon-button {
    background-color: rgba(244, 67, 54, 0.9);
    color: rgb(255, 255, 255);
    border: 2px solid rgba(244, 67, 54, 1.0);
}

.abandon-button:hover {
    background-color: rgba(244, 67, 54, 1.0);
    scale: 1.05;
}

/* Refresh button */
.refresh-button {
    background-color: rgba(33, 150, 243, 0.8);
    color: rgb(255, 255, 255);
    border-radius: 4px;
    padding: 6px 12px;
    -unity-font-style: bold;
}

.refresh-button:hover {
    background-color: rgba(33, 150, 243, 1.0);
}

/* Quest details panel */
.quest-details-panel {
    background-color: rgba(30, 30, 30, 0.95);
    border-radius: 8px;
    padding: 16px;
}

/* General panel styling */
.content-panel {
    background-color: rgba(40, 40, 40, 0.9);
    border-radius: 8px;
    padding: 16px;
    margin: 8px;
}

.panel-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

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

/* Urgency indicators for active quests */
.urgency-low {
    border-left-width: 4px;
    border-left-color: rgba(76, 175, 80, 0.8);
}

.urgency-medium {
    border-left-width: 4px;
    border-left-color: rgba(255, 193, 7, 0.8);
}

.urgency-high {
    border-left-width: 4px;
    border-left-color: rgba(255, 152, 0, 0.8);
}

.urgency-critical {
    border-left-width: 4px;
    border-left-color: rgba(244, 67, 54, 0.8);
}

/* Hidden class */
.hidden {
    display: none;
}