.guild-container {
    flex-grow: 1;
    background-color: rgba(20, 20, 30, 0.95);
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
}

.guild-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom-width: 2px;
    border-bottom-color: rgb(100, 100, 150);
}

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

.guild-level {
    font-size: 14px;
    color: rgb(100, 200, 255);
    background-color: rgba(100, 100, 150, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.quest-counter {
    font-size: 16px;
    -unity-font-style: bold;
    color: white;
    margin-bottom: 15px;
}

.tab-container {
    flex-direction: row;
    margin-bottom: 20px;
}

.tab-button {
    flex-grow: 1;
    height: 40px;
    font-size: 14px;
    -unity-font-style: bold;
    background-color: rgba(60, 60, 80, 0.8);
    color: rgb(200, 200, 200);
    border-width: 0;
    margin-right: 5px;
}

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

.tab-button.active {
    background-color: rgb(100, 100, 150);
    color: white;
}

.quest-list {
    flex-grow: 1;
    max-height: 400px;
}

.quest-item {
    background-color: rgba(40, 40, 60, 0.9);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 6px;
    border-left-width: 4px;
    border-left-color: rgb(100, 100, 150);
}

.quest-item:hover {
    background-color: rgb(50, 50, 70);
}

.quest-item.selected {
    background-color: rgb(60, 60, 80);
    border-left-color: rgb(255, 215, 0);
}

.quest-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.quest-title {
    font-size: 16px;
    -unity-font-style: bold;
    color: white;
    flex-grow: 1;
}

.quest-difficulty {
    font-size: 12px;
    color: rgb(100, 200, 255);
    background-color: rgba(100, 100, 150, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
}

.quest-time-remaining {
    font-size: 12px;
    color: rgb(255, 100, 100);
    -unity-font-style: italic;
    -unity-text-align: middle-right;
}

.quest-description {
    font-size: 12px;
    color: rgb(200, 200, 200);
    margin-bottom: 8px;
}

.quest-rewards {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 8px;
}

.reward-item {
    font-size: 11px;
    color: rgb(255, 215, 0);
    background-color: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.action-buttons {
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
}

.action-button {
    height: 40px;
    min-width: 120px;
    font-size: 14px;
    -unity-font-style: bold;
    border-radius: 4px;
    margin: 0 5px;
}

.accept-button {
    background-color: rgb(34, 139, 34);
    color: white;
}

.accept-button:hover {
    background-color: rgb(50, 155, 50);
}

.abandon-button {
    background-color: rgb(139, 69, 19);
    color: white;
}

.abandon-button:hover {
    background-color: rgb(160, 80, 30);
}

.guild-stats {
    background-color: rgba(30, 30, 50, 0.8);
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.stats-title {
    font-size: 16px;
    -unity-font-style: bold;
    color: rgb(255, 215, 0);
    margin-bottom: 10px;
}

.stat-item {
    font-size: 12px;
    color: rgb(200, 200, 200);
    margin-bottom: 5px;
}

.quest-item.urgency-critical {
    border-left-color: rgb(255, 0, 0);
    background-color: rgba(60, 20, 20, 0.9);
}

.quest-item.urgency-high {
    border-left-color: rgb(255, 165, 0);
    background-color: rgba(60, 40, 20, 0.9);
}

.quest-item.urgency-medium {
    border-left-color: rgb(255, 255, 0);
}

.quest-item.urgency-low {
    border-left-color: rgb(0, 255, 0);
}

.quest-details {
    background-color: rgba(0, 0, 0, 0);
}

.backgroundOpacity {
    background-color: rgba(0, 0, 0, 0.78);
}
