/** PAGE EXPLORATION **/
.exploration-management {
    grid-column: 2;
    grid-row: 2;
    padding: 20px;
    overflow-y: auto;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
}

.section-title {
    color: var(--exploration);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.territory-map {
    background-color: var(--surface);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.map-title {
    font-size: 1.2rem;
    color: var(--exploration);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-icon {
    width: 30px;
    height: 30px;
    background-color: var(--exploration);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.map-controls {
    display: flex;
    gap: 10px;
}

.map-btn {
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.map-display {
    height: 400px;
    background-color: #1a237e;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), 
                     radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.colony-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(255, 109, 0, 0.5);
}

.territory-zone {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zone-explored {
    width: 200px;
    height: 200px;
    background-color: rgba(63, 81, 181, 0.2);
    border-color: var(--exploration);
}

.zone-known {
    width: 300px;
    height: 300px;
    background-color: rgba(63, 81, 181, 0.1);
}

.zone-unexplored {
    width: 400px;
    height: 400px;
}

.point-of-interest {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 5;
}

.point-of-interest:hover {
    transform: scale(1.2);
    z-index: 6;
}

.poi-resource {
    background-color: var(--accent);
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.poi-danger {
    background-color: #f44336;
    box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
}

.poi-neutral {
    background-color: #ffc107;
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.poi-special {
    background-color: #9c27b0;
    box-shadow: 0 0 5px rgba(156, 39, 176, 0.5);
}

.expedition-teams {
    margin-top: 20px;
}

.teams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.teams-title {
    font-size: 1.2rem;
    color: var(--exploration);
}

.form-new-team {
    padding: 8px 15px;
    border-radius: 4px;
    background-color: var(--exploration);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-new-team:hover {
    background-color: var(--exploration-dark);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.team-card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--exploration);
}

.team-header {
    padding: 15px;
    background-color: rgba(63, 81, 181, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--exploration);
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-icon {
    width: 30px;
    height: 30px;
    background-color: var(--exploration);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.team-status {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    background-color: var(--exploration-dark);
}

.team-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.team-info-label {
    color: rgba(255, 255, 255, 0.7);
}

.team-progress {
    margin-top: 5px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.progress-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--exploration);
    border-radius: 4px;
}

.team-members {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.team-member {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.team-member.explorer {
    background-color: var(--exploration-light);
    color: var(--exploration-dark);
}

.team-member.soldier {
    background-color: #ffcdd2;
    color: #d32f2f;
}

.team-member.worker {
    background-color: #c5e1a5;
    color: #689f38;
}

.team-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.team-btn {
    padding: 8px 15px;
    border-radius: 4px;
    background-color: var(--exploration);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.team-btn:hover {
    background-color: var(--exploration-dark);
}

.team-btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.team-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.discoveries-section {
    margin-top: 30px;
}

.discoveries-title {
    font-size: 1.2rem;
    color: var(--exploration);
    margin-bottom: 15px;
}

.discoveries-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.discovery-card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.discovery-image {
    height: 120px;
    background-color: #303f9f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.discovery-body {
    padding: 15px;
}

.discovery-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discovery-type {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
    background-color: var(--accent);
}

.discovery-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    min-height: 60px;
}

.discovery-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.discovery-benefit {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 10px;
    background-color: rgba(63, 81, 181, 0.2);
    color: var(--exploration-light);
}

.discovery-action {
    display: flex;
    justify-content: flex-end;
}

.discovery-btn {
    padding: 5px 10px;
    border-radius: 4px;
    background-color: var(--exploration);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.discovery-btn:hover {
    background-color: var(--exploration-dark);
}

.status-bar {
    grid-column: 1 / 4;
    grid-row: 3;
    background-color: var(--surface);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-info {
    flex: 1;
}

.progress-container {
    flex: 2;
    height: 60px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 65%;
    background-color: var(--exploration);
    border-radius: 5px;
}

.status-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.action-btn {
    padding: 8px 15px;
    border-radius: 4px;
    background-color: var(--primary);
    border: none;
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background-color: #ff8c24;
}

.right-panel {
    grid-column: 3;
    grid-row: 2;
    background-color: var(--surface);
    padding: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
}

.panel-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--exploration);
}

.selected-poi {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.poi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.poi-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.poi-info {
    flex: 1;
}

.poi-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.poi-coordinates {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.poi-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.poi-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.poi-stat {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
}

.stat-name {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.stat-number {
    font-size: 1rem;
    font-weight: bold;
    color: var(--exploration-light);
}

.poi-resources {
    margin-bottom: 15px;
}

.resources-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--exploration);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.resource-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.danger-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.danger-icon {
    width: 24px;
    height: 24px;
    background-color: #f44336;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.poi-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poi-btn {
    padding: 10px;
    border-radius: 4px;
    background-color: var(--exploration);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.poi-btn:hover {
    background-color: var(--exploration-dark);
}

.poi-btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.poi-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.explorer-stats {
    margin-top: 30px;
}

.explorer-info {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.explorer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.explorer-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--exploration);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.explorer-details {
    flex: 1;
}

.explorer-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.explorer-role {
    font-size: 0.9rem;
    color: var(--exploration-light);
}

.explorer-skills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 0.9rem;
}

.skill-level {
    display: flex;
    gap: 2px;
}

.skill-point {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.skill-point.filled {
    background-color: var(--exploration);
}