Actions

Template

JourneyPage/styles.css: Difference between revisions

From Dune Awakening DB

 
mNo edit summary
Line 1: Line 1:
/**********************************************************
/* Template:JourneyPage/styles.css
* Journeys Page Styles
  Journey tracking system styles for Dune wiki
* (Extends Dune Awakening Theme)
  Integrates with existing Dune theme */
**********************************************************/


/* ================================================
/* ================================================
   JOURNEYS PAGE CONTAINER & LAYOUT
   JOURNEY SYSTEM BASE STYLES
   ================================================ */
   ================================================ */
.journeys-page-container {
 
/* Main Container - Fixed height for wiki integration */
.journey-main-container {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    height: 700px; /* Fixed height for wiki pages */
    min-height: 600px;
    overflow: hidden;
    align-items: stretch;
    background: rgba(0,0,2,.3);
    border: 2px solid rgba(252, 231, 200, 0.2);
}
 
/* Tech pattern overlay */
.journey-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(252, 231, 200, 0.01) 35px,
        rgba(252, 231, 200, 0.01) 70px
    );
    z-index: -1;
}
 
/* Journey Categories - 60% width */
.journey-categories {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    max-height: 100%;
}
 
/* Journey Section (Group) */
.journey-section {
    background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    box-shadow:
        inset 0 0 20px rgba(0,0,0,0.5),
        0 2px 10px rgba(0,0,0,0.8);
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
 
.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        #fce7c8 50%,
        transparent 100%);
    opacity: 0.3;
}
 
.journey-section:hover {
    border-color: rgba(252, 231, 200, 0.4);
    box-shadow:
        inset 0 0 30px rgba(252, 231, 200, 0.05),
        0 2px 20px rgba(252, 231, 200, 0.1);
}
 
.journey-section-header {
     display: flex;
     display: flex;
     gap: 20px; /* Space between card area and sidebar */
    align-items: center;
     padding: 20px; /* Replaced var(--content-padding) */
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(252, 231, 200, 0.2);
    position: relative;
}
 
.section-icon {
    font-size: 24px;
    color: #E3BB7A;
    text-shadow: 0 0 10px rgba(227, 187, 122, 0.5);
}
 
.section-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
 
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fce7c8;
    text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
}
 
/* Journey Grid */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    max-width: 100%;
     gap: 12px;
}
 
@media (min-width: 1200px) {
    .journey-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
 
/* Journey Card */
.journey-card {
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 130px; /* clip-path removed for linter compliance */
}
 
.journey-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
     right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        transparent 30%,
        #fce7c8 50%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
 
.journey-card:hover {
    transform: translateY(-2px);
    border-color: #fce7c8;
    box-shadow:  
        0 5px 20px rgba(252, 231, 200, 0.2),
        inset 0 0 20px rgba(252, 231, 200, 0.05);
}
 
.journey-card:hover::before {
    opacity: 0.3;
}
 
.journey-card.active {
    border-color: #a855f7;
    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.4),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}
 
.journey-card.completed {
    opacity: 0.7;
}
 
.journey-card.completed::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    color: #fce7c8;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}
 
.journey-card-inner {
    padding: 12px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
 
.journey-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    background: radial-gradient(circle, rgba(252, 231, 200, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(252, 231, 200, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #E3BB7A;
    position: relative;
    overflow: hidden;
}
 
.journey-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
 
.journey-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
     width: 100%;
     width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(252, 231, 200, 0.2) 0%, transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}
.journey-card:hover .journey-icon::after {
    transform: translate(-50%, -50%) scale(1.5);
}
.journey-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fce7c8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.journey-tier {
    font-size: 11px;
    color: #E3BB7A;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Journey Details Panel - 40% width */
.journey-details-panel {
    flex: 0 0 calc(40% - 20px);
    background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    box-shadow:
        inset 0 0 30px rgba(0,0,0,0.5),
        0 2px 20px rgba(0,0,0,0.8);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
     box-sizing: border-box;
     box-sizing: border-box;
}
}


/* ... (other styles for .journeys-main-content, .journeys-sidebar remain the same) ... */
.journey-details-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #fce7c8 50%,
        transparent 100%);
    opacity: 0.5;
}
 
.journey-details-panel > * {
    flex-shrink: 0;
}
 
.journey-details-panel .journey-objectives {
    flex: 1 1 auto;
    flex-shrink: 1;
}
 
.journey-description {
    flex-shrink: 1;
    min-height: 0;
}
 
.journey-actions {
    flex-shrink: 0;
    margin-top: auto;
}
 
.journey-details-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(252, 231, 200, 0.2);
    flex-shrink: 0;
}
 
.journey-tier-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7 0%, rgba(168, 85, 247, 0.6) 100%);
    border: 2px solid #fce7c8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* clip-path removed */
    flex-shrink: 0;
}


/* ================================================
.tier-number {
  JOURNEYS TABS (Top of main content)
    font-family: 'Orbitron', sans-serif;
  ================================================ */
    font-size: 20px;
/* ... (.journeys-tabs remains the same) ... */
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


.journeys-tab {
.journey-title {
    flex: 1;
     font-family: 'Orbitron', sans-serif;
     font-family: 'Orbitron', sans-serif;
     font-size: 1.1rem; /* Replaced var(--font-size-lg) */
     font-size: 14px;
    color: rgba(252, 231, 200, 0.7);
    font-weight: 700;
     text-transform: uppercase;
     text-transform: uppercase;
     padding: 8px 20px;
    letter-spacing: 1px;
    color: #fce7c8;
    text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
    line-height: 1.2;
}
 
.completion-status {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 11px;
    color: #E3BB7A;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
 
/* Description with accordion */
.journey-description {
    padding: 8px;
    background: rgba(0, 0, 2, 0.6);
    border: 1px solid rgba(252, 231, 200, 0.2);
    font-size: 11px;
    line-height: 1.3;
    color: #E0E0E0;
    position: relative;
    flex-shrink: 0;
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
 
.journey-description.collapsed {
    max-height: 42px;
}
 
.journey-description.expanded {
    max-height: none;
}
 
.description-toggle {
    position: absolute;
    bottom: 2px;
    right: 4px;
    background: rgba(0, 0, 2, 0.9);
    border: 1px solid rgba(252, 231, 200, 0.2);
    color: #E3BB7A;
    font-size: 10px;
     padding: 2px 8px;
     cursor: pointer;
     cursor: pointer;
     border: 2px solid transparent;
    text-transform: uppercase;
     border-bottom: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
 
.description-toggle:hover {
    border-color: #fce7c8;
    color: #fce7c8;
}
 
.journey-description::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 30px;
    color: #E3BB7A;
    opacity: 0.3;
}
 
/* Rewards Section */
.journey-rewards {
    background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
     border: 1px solid rgba(252, 231, 200, 0.2);
     padding: 8px;
     position: relative;
     position: relative;
     transition: all 0.3s ease;
     overflow: hidden;
     background-color: rgba(12,10,20,.5);
    flex-shrink: 0;
}
 
.journey-rewards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
     background: linear-gradient(90deg, transparent 0%, #E3BB7A 50%, transparent 100%);
}
 
.rewards-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #E3BB7A;
    font-weight: 700;
}
 
.rewards-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
}


.journeys-tab:hover {
.xp-icon {
     color: #fce7c8; /* var(--color-primary) */
    background: linear-gradient(135deg, #E3BB7A 0%, #fce7c8 100%);
     background-color: rgba(252, 231, 200, 0.1);
     color: #0a0a0a;
    padding: 5px 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
     letter-spacing: 1px; /* clip-path removed */
}
}


.journeys-tab.active {
.xp-amount {
     color: #fce7c8; /* var(--color-primary) */
     font-family: 'Orbitron', sans-serif;
    font-size: 20px;
     font-weight: 700;
     font-weight: 700;
     background-color: rgba(0,0,2,.85); /* var(--color-bg-dark) */
     color: #fce7c8;
     border-color: rgba(252, 231, 200, 0.4); /* Replaced var(--color-border-hover) */
    text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
     border-bottom: none;
}
    box-shadow: 0 -3px 10px rgba(252, 231, 200, 0.1);
 
/* Objectives Section */
.journey-objectives {
     background: rgba(0, 0, 2, 0.6);
     border: 1px solid rgba(252, 231, 200, 0.2);
    padding: 12px;
    flex: 1 1 auto;
    min-height: 100px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
}


/* ================================================
.objectives-list {
  JOURNEY CARD GRID & GROUPS
    overflow-y: auto;
  ================================================ */
    overflow-x: hidden;
/* ... (.journey-card-grid remains the same) ... */
    padding-right: 10px;
    flex: 1 1 auto;
    min-height: 0;
}


.journey-section-label {
.objectives-header {
     font-family: 'Orbitron', sans-serif;
     font-family: 'Orbitron', sans-serif;
     font-size: 0.85rem; /* Replaced var(--font-size-md) */
     font-size: 11px;
    color: #E3BB7A; /* var(--color-secondary) */
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 2px;
     letter-spacing: 2px;
     padding: 10px 0;
     margin-bottom: 12px;
     margin: 15px 0;
    color: #E3BB7A;
     text-align: left;
    font-weight: 700;
     border-bottom: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
}
     border-top: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
 
.objective-item {
     margin-bottom: 15px;
     padding-bottom: 15px;
     border-bottom: 1px solid rgba(252, 231, 200, 0.1);
}
 
.objective-item:last-child {
    margin-bottom: 0;
     padding-bottom: 0;
    border-bottom: none;
}
}


/* ================================================
.objective-header {
  INDIVIDUAL JOURNEY CARD
  ================================================ */
.journey-card {
    width: 100%; /* Take full width of grid cell */
    /* aspect-ratio: 3 / 4; /* REMOVED due to TemplateStyles incompatibility */
    max-width: 180px; /* Max width to control size */
    height: 240px; /* ADDED: (180px * 4 / 3) to maintain 3/4 ratio with max-width */
                  /* OR use min-height based on your grid's minmax column width if preferred, e.g. min-height: 200px for 150px wide cards */
    background-color: #08070d;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: center;
     gap: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
 
/* Accordion indicator */
.objective-header::after {
    content: '▼';
    position: absolute;
    right: 40px;
    font-size: 12px;
    color: #E3BB7A;
    transition: transform 0.3s ease;
}
 
.objective-item.collapsed .objective-header::after {
    transform: rotate(-90deg);
}
}


.journey-card:hover:not(.locked) {
.objective-header:hover {
     transform: scale(1.03);
     color: #fce7c8;
    box-shadow: 0 0 25px rgba(252, 231, 200, 0.3);
}
}


.journey-card.active-journey:not(.locked) .journey-card-border-outer {
.objective-header:hover::after {
     border-color: #fce7c8; /* Replaced var(--color-primary) */
     color: #fce7c8;
    box-shadow: 0 0 15px #fce7c8; /* var(--color-primary) */
}
}


.journey-card-border-outer {
.objective-icon {
     width: calc(100% - 4px);
     width: 28px;
     height: calc(100% - 4px);
     height: 28px;
     border: 1px solid #E3BB7A; /* var(--color-secondary) */
    background: linear-gradient(135deg, #a855f7 0%, rgba(168, 85, 247, 0.6) 100%);
    padding: 2px;
     border: 1px solid #fce7c8;
    background-clip: padding-box;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
     font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white; /* clip-path removed */
}
 
.objective-title {
    flex: 1;
    font-weight: 600;
    color: #fce7c8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    padding-right: 50px;
}
}


.journey-card-border-inner {
.objective-progress {
     width: 100%;
     font-family: 'Orbitron', sans-serif;
     height: 100%;
     font-size: 12px;
     border: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
     color: #E3BB7A;
     background-color: #100e17;
     font-weight: 600;
     display: flex;
     display: flex;
     flex-direction: column;
     align-items: center;
    gap: 5px;
}
 
.objective-progress.completed {
    color: #fce7c8;
}
 
.objective-progress.completed::after {
    content: '✓';
    font-size: 14px;
    color: #fce7c8;
    margin-left: 2px;
}
 
.objective-tasks {
    margin-left: 40px;
    max-height: 500px;
     overflow: hidden;
     overflow: hidden;
    transition: max-height 0.3s ease;
}
}


/* ... (image wrapper styles) ... */
.objective-item.collapsed .objective-tasks {
    max-height: 0;
}


.journey-card-title-container {
.task-item {
     background-color: rgba(10, 8, 16, 0.85);
    display: flex;
     border-top: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
    align-items: center;
    padding: 8px 10px;
    gap: 10px;
    text-align: center;
    margin-bottom: 10px;
    min-height: 38px;
     font-size: 13px;
    color: #E0E0E0;
}
 
.task-checkbox {
    width: 16px;
    height: 16px;
     border: 2px solid rgba(252, 231, 200, 0.2);
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     box-sizing: border-box;
     transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}
 
.task-checkbox::before {
    content: '';
    position: absolute;
    top:    -1px;
    right:  -1px;
    bottom: -1px;
    left:  -1px;
    background: linear-gradient(45deg, transparent 30%, #fce7c8 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
 
.task-checkbox.completed {
    background: #E3BB7A;
    border-color: #fce7c8;
}
 
.task-checkbox.completed::after {
    content: '✓';
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
}
 
.task-description {
    flex: 1;
}
 
.task-qty {
    color: #E3BB7A;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
 
/* Action Buttons */
.journey-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 5px;
}
}


.journey-card-title-text {
.action-button {
    flex: 1;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    color: #fce7c8;
     font-family: 'Rajdhani', sans-serif;
     font-family: 'Rajdhani', sans-serif;
     font-size: 0.75rem; /* Replaced var(--font-size-sm) */
     font-size: 13px;
    color: #fce7c8; /* var(--color-primary) */
     font-weight: 600;
     font-weight: 600;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 1px;
     white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
     align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
     overflow: hidden;
     overflow: hidden;
    text-overflow: ellipsis;
}
}


/* ... (Locked and Empty States for Journey Cards - ensure variables are replaced if used there for colors/borders) ... */
.action-button:disabled {
.journey-card.locked .journey-card-border-outer {
    opacity: 0.5;
     border-color: rgba(100,100,100,0.4); /* Literal value, no var() here originally */
    cursor: not-allowed;
}
 
.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(252, 231, 200, 0.2) 50%, transparent 100%);
    transition: left 0.3s ease;
}
 
.action-button:not(:disabled):hover {
     border-color: #fce7c8;
    box-shadow:
        0 0 20px rgba(252, 231, 200, 0.2),
        inset 0 0 20px rgba(252, 231, 200, 0.05);
}
}
.journey-card.locked .journey-card-border-inner {
 
     border-color: rgba(100,100,100,0.2); /* Literal value */
.action-button:not(:disabled):hover::before {
     left: 100%;
}
}
.journey-card.locked .journey-card-title-text {
 
     color: rgba(252, 231, 200, 0.4); /* Literal value */
.button-icon {
     font-size: 16px;
}
}


/* Popup Modal */
.journey-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* backdrop-filter removed */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}


/* ================================================
.journey-popup-overlay.active {
  JOURNEY DETAILS SIDEBAR CARD
    display: flex;
  ================================================ */
}
.journey-details-card {
 
     background: linear-gradient(135deg, rgba(0,0,2,.85) 0%, rgba(12,10,20,.85) 100%); /* Replaced var(--color-bg-dark) and var(--color-bg-darker) */
.journey-popup {
     color: #E0E0E0; /* var(--color-text) */
     background: linear-gradient(135deg, rgba(0,0,2,.98) 0%, rgba(12,10,20,.98) 100%);
     border: 2px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
     border: 2px solid #fce7c8;
     /* ... clip-path and other styles ... */
     box-shadow: 0 10px 50px rgba(0,0,0,0.8);
     height: 100%;
    padding: 0;
    max-width: 90%;
     max-height: 90vh;
     position: relative;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
}
}


.journey-details-content {
.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0,0,2,.8);
    border-bottom: 2px solid rgba(252, 231, 200, 0.2);
}
 
.popup-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fce7c8;
}
 
.popup-close {
    background: none;
    border: 2px solid rgba(252, 231, 200, 0.2);
    color: #fce7c8;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}
 
.popup-close:hover {
    border-color: #fce7c8;
    background: rgba(252, 231, 200, 0.1);
}
 
.popup-content {
     padding: 20px;
     padding: 20px;
     overflow-y: auto;
     overflow-y: auto;
     flex-grow: 1;
     flex: 1;
}
 
/* Item list popup */
.journey-popup.items-popup {
    width: 600px;
}
 
/* Materials progress */
.materials-progress {
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    padding: 12px;
    margin-bottom: 15px;
     display: flex;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 18px;
     justify-content: space-between;
    transition: all 0.3s ease;
}
 
.materials-progress.completed {
    border-color: #fce7c8;
    background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
    box-shadow: 0 0 20px rgba(252, 231, 200, 0.2);
}
}


.selected-journey-title {
.materials-progress-text {
     font-family: 'Orbitron', sans-serif;
     font-family: 'Orbitron', sans-serif;
     font-size: 1.3rem; /* Replaced var(--font-size-xl) */
     font-size: 13px;
    color: #fce7c8; /* var(--color-primary) */
    font-weight: 600;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1px;
     margin-bottom: 8px;
     color: #E3BB7A;
     text-shadow: 0 0 10px rgba(252, 231, 200, 0.4);
    transition: all 0.3s ease;
}
 
.materials-progress.completed .materials-progress-text {
    color: #fce7c8;
}
 
.materials-progress-count {
     font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fce7c8;
    display: flex;
    align-items: center;
    gap: 8px;
}
}


.selected-journey-progress .progress-text {
.materials-progress.completed .materials-progress-count::after {
     font-size: 0.65rem; /* Replaced var(--font-size-xs) */
    content: '✓';
     color: #E3BB7A; /* var(--color-secondary) */
     font-size: 20px;
     text-transform: uppercase;
     color: #fce7c8;
    letter-spacing: 1px;
     text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
     display: block;
     animation: completionPulse 0.5s ease;
    margin-bottom: 5px;
}
}


.progress-bar-container {
@keyframes completionPulse {
     width: 100%;
     0% { transform: scale(0.5); opacity: 0; }
    height: 8px;
     50% { transform: scale(1.2); }
     background-color: rgba(0,0,2,.8);
     100% { transform: scale(1); opacity: 1; }
     border: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
    padding: 1px;
}
}


.progress-bar-fill {
.materials-list {
     height: 100%;
     display: grid;
     background: #E3BB7A; /* var(--color-secondary) */
     gap: 12px;
    box-shadow: 0 0 8px #E3BB7A; /* var(--color-secondary) */
     position: relative;
     transition: width 0.5s ease-in-out;
}
}


.selected-journey-description p {
.material-category {
     font-size: 0.85rem; /* Replaced var(--font-size-md) */
     background: rgba(252, 231, 200, 0.05);
     line-height: 1.6;
    border: 1px solid rgba(252, 231, 200, 0.2);
     color: #E0E0E0; /* var(--color-text) */
     padding: 15px;
     position: relative;
}
}


.details-section-title {
.material-category-title {
     font-family: 'Orbitron', sans-serif;
     font-family: 'Orbitron', sans-serif;
     font-size: 0.75rem; /* Replaced var(--font-size-sm) */
     font-size: 14px;
    color: #E3BB7A; /* var(--color-secondary) */
    font-weight: 700;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1.5px;
     letter-spacing: 1px;
     border-bottom: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
     color: #E3BB7A;
    padding-bottom: 6px;
     margin-bottom: 10px;
     margin-bottom: 10px;
}
}


/* Objectives List */
.material-item {
.objective-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(252, 231, 200, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}
 
.material-item:hover {
    background: rgba(252, 231, 200, 0.02);
}
 
.material-item:last-child {
    border-bottom: none;
}
 
.material-item.checked {
    opacity: 0.6;
}
 
.material-item.checked .material-name {
    text-decoration: line-through;
    color: #E3BB7A;
}
 
.material-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(252, 231, 200, 0.2);
     display: flex;
     display: flex;
     align-items: flex-start;
     align-items: center;
     font-size: 0.85rem; /* Replaced var(--font-size-md) */
     justify-content: center;
     color: #E0E0E0; /* var(--color-text) */
     transition: all 0.3s ease;
     margin-bottom: 10px;
     position: relative;
     padding-left: 5px;
     flex-shrink: 0;
}
}


.objective-status-icon {
.material-checkbox::before {
     margin-right: 10px;
     content: '';
     font-family: 'Arial', sans-serif;
    position: absolute;
     font-size: 1.1em; /* This was not a variable, should be fine */
    top:    -1px;
     color: #E3BB7A; /* var(--color-secondary) */
    right: -1px;
     line-height: 1.3;
     bottom: -1px;
    left:   -1px;
     background: linear-gradient(45deg, transparent 30%, #fce7c8 50%, transparent 70%);
     opacity: 0;
     transition: opacity 0.3s ease;
}
}


/* ... (.objective-item.complete/incomplete icon styles) ... */
.material-checkbox.completed {
    background: #E3BB7A;
    border-color: #fce7c8;
}


.objective-meta {
.material-checkbox.completed::after {
     margin-left: 8px;
     content: '✓';
     color: #E3BB7A; /* var(--color-secondary) */
     color: #0a0a0a;
     font-size: 0.75rem; /* Replaced var(--font-size-sm) */
     font-size: 12px;
    font-weight: bold;
}
}
.objective-subtext {
 
     display: block;
.material-icon {
     font-size: 0.65rem; /* Replaced var(--font-size-xs) */
     width: 32px;
     color: rgba(224, 224, 224, 0.7);
    height: 32px;
     padding-left: 22px;
     background: rgba(252, 231, 200, 0.1);
     border: 1px solid rgba(252, 231, 200, 0.2);
     display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
}


/* Reward Text */
.material-icon img {
.reward-text {
     width: 20px;
     font-size: 0.85rem; /* Replaced var(--font-size-md) */
     height: 20px;
     color: #fce7c8; /* var(--color-primary) */
    font-weight: 600;
}
}


/* Track Button */
.material-name {
.selected-journey-actions {
     flex: 1;
     margin-top: auto;
    font-size: 14px;
     padding-top: 15px;
     color: #E0E0E0;
     border-top: 1px solid rgba(252, 231, 200, 0.2); /* var(--color-border) */
     transition: all 0.3s ease;
}
}


.journey-track-button {
.material-qty {
    background: linear-gradient(180deg, rgba(227, 187, 122, 0.15) 0%, rgba(252, 231, 200, 0.1) 100%);
    border: 2px solid #E3BB7A; /* var(--color-secondary) */
    color: #fce7c8; /* var(--color-primary) */
     font-family: 'Orbitron', sans-serif;
     font-family: 'Orbitron', sans-serif;
     font-size: 1.1rem; /* Replaced var(--font-size-lg) */
     font-size: 16px;
     /* ... other styles ... */
    font-weight: 700;
    color: #fce7c8;
}
 
/* Loading State */
.loading {
    opacity: 0.5;
     position: relative;  /* pointer-events removed for MediaWiki */
}
}


.journey-track-button:hover {
 
     background: linear-gradient(180deg, rgba(227, 187, 122, 0.25) 0%, rgba(252, 231, 200, 0.2) 100%);
.loading::after {
     border-color: #fce7c8; /* var(--color-primary) */
     content: '';
     box-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
    position: absolute;
     color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(252, 231, 200, 0.2);
     border-top-color: #fce7c8;
     border-radius: 50%;
     animation: loadingSpin 1s linear infinite;
}
}


.track-button-keybind {
@keyframes loadingSpin {
     display: inline-block;
     0% { transform: translate(-50%, -50%) rotate(0deg); }
    border: 1px solid #fce7c8; /* var(--color-primary) */
     100% { transform: translate(-50%, -50%) rotate(360deg); }
    padding: 2px 6px;
     margin-right: 8px;
    font-size: 0.85rem; /* Replaced var(--font-size-md) */
    border-radius: 3px;
    background-color: rgba(0,0,0,0.3);
}
}


/* ================================================
/* Responsive Design */
  RESPONSIVE ADJUSTMENTS (Journeys Page)
@media (max-width: 1200px) {
  ================================================ */
     .journey-main-container {
@media (max-width: 992px) { /* Tablet and below */
        flex-direction: column;
     /* ... */
        height: auto;
        min-height: 800px;
    }
   
    .journey-categories {
        flex: 0 0 auto;
        min-height: 300px;
        max-height: 400px;
    }
   
    .journey-details-panel {
        flex: 1 1 auto;
        min-height: 400px;
    }
   
    .journey-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
}


@media (max-width: 768px) { /* Mobile */
@media (max-width: 768px) {
     .journeys-tabs {
     .journey-grid {
         /* font-size: var(--font-size-md); /* Example: If you had vars here, replace them */
         grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
         font-size: 0.85rem; /* Replaced var(--font-size-md) */
    }
   
    .journey-card-inner {
         padding: 12px;
     }
     }
     /* ... */
      
     .journey-card-title-text {
     .journey-icon {
         font-size: 0.7rem; /* Literal value */
        width: 48px;
        height: 48px;
         font-size: 24px;
     }
     }
     .selected-journey-title {
   
         font-size: 1.1rem; /* Replaced var(--font-size-lg) */
     .journey-name {
         font-size: 12px;
     }
     }
     .objective-item, .selected-journey-description p, .reward-text {
   
         font-size: 0.75rem; /* Replaced var(--font-size-sm) */
     .journey-details-panel {
         padding: 16px;
     }
     }
}
}

Revision as of 18:48, 25 May 2025

/* Template:JourneyPage/styles.css
   Journey tracking system styles for Dune wiki
   Integrates with existing Dune theme */

/* ================================================
   JOURNEY SYSTEM BASE STYLES
   ================================================ */

/* Main Container - Fixed height for wiki integration */
.journey-main-container {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    height: 700px; /* Fixed height for wiki pages */
    min-height: 600px;
    overflow: hidden;
    align-items: stretch;
    background: rgba(0,0,2,.3);
    border: 2px solid rgba(252, 231, 200, 0.2);
}

/* Tech pattern overlay */
.journey-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(252, 231, 200, 0.01) 35px,
        rgba(252, 231, 200, 0.01) 70px
    );
    z-index: -1;
}

/* Journey Categories - 60% width */
.journey-categories {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    max-height: 100%;
}

/* Journey Section (Group) */
.journey-section {
    background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 2px 10px rgba(0,0,0,0.8);
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fce7c8 50%, 
        transparent 100%);
    opacity: 0.3;
}

.journey-section:hover {
    border-color: rgba(252, 231, 200, 0.4);
    box-shadow: 
        inset 0 0 30px rgba(252, 231, 200, 0.05),
        0 2px 20px rgba(252, 231, 200, 0.1);
}

.journey-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(252, 231, 200, 0.2);
    position: relative;
}

.section-icon {
    font-size: 24px;
    color: #E3BB7A;
    text-shadow: 0 0 10px rgba(227, 187, 122, 0.5);
}

.section-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fce7c8;
    text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
}

/* Journey Grid */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    max-width: 100%;
    gap: 12px;
}

@media (min-width: 1200px) {
    .journey-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Journey Card */
.journey-card {
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 130px; /* clip-path removed for linter compliance */
}

.journey-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        #fce7c8 50%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.journey-card:hover {
    transform: translateY(-2px);
    border-color: #fce7c8;
    box-shadow: 
        0 5px 20px rgba(252, 231, 200, 0.2),
        inset 0 0 20px rgba(252, 231, 200, 0.05);
}

.journey-card:hover::before {
    opacity: 0.3;
}

.journey-card.active {
    border-color: #a855f7;
    box-shadow: 
        0 0 30px rgba(168, 85, 247, 0.4),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.journey-card.completed {
    opacity: 0.7;
}

.journey-card.completed::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    color: #fce7c8;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}

.journey-card-inner {
    padding: 12px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.journey-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    background: radial-gradient(circle, rgba(252, 231, 200, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(252, 231, 200, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #E3BB7A;
    position: relative;
    overflow: hidden;
}

.journey-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.journey-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(252, 231, 200, 0.2) 0%, transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.journey-card:hover .journey-icon::after {
    transform: translate(-50%, -50%) scale(1.5);
}

.journey-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fce7c8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journey-tier {
    font-size: 11px;
    color: #E3BB7A;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Journey Details Panel - 40% width */
.journey-details-panel {
    flex: 0 0 calc(40% - 20px);
    background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    box-shadow: 
        inset 0 0 30px rgba(0,0,0,0.5),
        0 2px 20px rgba(0,0,0,0.8);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.journey-details-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fce7c8 50%, 
        transparent 100%);
    opacity: 0.5;
}

.journey-details-panel > * {
    flex-shrink: 0;
}

.journey-details-panel .journey-objectives {
    flex: 1 1 auto;
    flex-shrink: 1;
}

.journey-description {
    flex-shrink: 1;
    min-height: 0;
}

.journey-actions {
    flex-shrink: 0;
    margin-top: auto;
}

.journey-details-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(252, 231, 200, 0.2);
    flex-shrink: 0;
}

.journey-tier-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7 0%, rgba(168, 85, 247, 0.6) 100%);
    border: 2px solid #fce7c8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* clip-path removed */
    flex-shrink: 0;
}

.tier-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.journey-title {
    flex: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fce7c8;
    text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
    line-height: 1.2;
}

.completion-status {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 11px;
    color: #E3BB7A;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Description with accordion */
.journey-description {
    padding: 8px;
    background: rgba(0, 0, 2, 0.6);
    border: 1px solid rgba(252, 231, 200, 0.2);
    font-size: 11px;
    line-height: 1.3;
    color: #E0E0E0;
    position: relative;
    flex-shrink: 0;
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.journey-description.collapsed {
    max-height: 42px;
}

.journey-description.expanded {
    max-height: none;
}

.description-toggle {
    position: absolute;
    bottom: 2px;
    right: 4px;
    background: rgba(0, 0, 2, 0.9);
    border: 1px solid rgba(252, 231, 200, 0.2);
    color: #E3BB7A;
    font-size: 10px;
    padding: 2px 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.description-toggle:hover {
    border-color: #fce7c8;
    color: #fce7c8;
}

.journey-description::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 30px;
    color: #E3BB7A;
    opacity: 0.3;
}

/* Rewards Section */
.journey-rewards {
    background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
    border: 1px solid rgba(252, 231, 200, 0.2);
    padding: 8px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.journey-rewards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #E3BB7A 50%, transparent 100%);
}

.rewards-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #E3BB7A;
    font-weight: 700;
}

.rewards-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xp-icon {
    background: linear-gradient(135deg, #E3BB7A 0%, #fce7c8 100%);
    color: #0a0a0a;
    padding: 5px 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px; /* clip-path removed */
}

.xp-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fce7c8;
    text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}

/* Objectives Section */
.journey-objectives {
    background: rgba(0, 0, 2, 0.6);
    border: 1px solid rgba(252, 231, 200, 0.2);
    padding: 12px;
    flex: 1 1 auto;
    min-height: 100px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.objectives-list {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    flex: 1 1 auto;
    min-height: 0;
}

.objectives-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #E3BB7A;
    font-weight: 700;
}

.objective-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(252, 231, 200, 0.1);
}

.objective-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.objective-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Accordion indicator */
.objective-header::after {
    content: '▼';
    position: absolute;
    right: 40px;
    font-size: 12px;
    color: #E3BB7A;
    transition: transform 0.3s ease;
}

.objective-item.collapsed .objective-header::after {
    transform: rotate(-90deg);
}

.objective-header:hover {
    color: #fce7c8;
}

.objective-header:hover::after {
    color: #fce7c8;
}

.objective-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #a855f7 0%, rgba(168, 85, 247, 0.6) 100%);
    border: 1px solid #fce7c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white; /* clip-path removed */
}

.objective-title {
    flex: 1;
    font-weight: 600;
    color: #fce7c8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    padding-right: 50px;
}

.objective-progress {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: #E3BB7A;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.objective-progress.completed {
    color: #fce7c8;
}

.objective-progress.completed::after {
    content: '✓';
    font-size: 14px;
    color: #fce7c8;
    margin-left: 2px;
}

.objective-tasks {
    margin-left: 40px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.objective-item.collapsed .objective-tasks {
    max-height: 0;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #E0E0E0;
}

.task-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(252, 231, 200, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.task-checkbox::before {
    content: '';
    position: absolute;
    top:    -1px;
    right:  -1px;
    bottom: -1px;
    left:   -1px;
    background: linear-gradient(45deg, transparent 30%, #fce7c8 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-checkbox.completed {
    background: #E3BB7A;
    border-color: #fce7c8;
}

.task-checkbox.completed::after {
    content: '✓';
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
}

.task-description {
    flex: 1;
}

.task-qty {
    color: #E3BB7A;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Action Buttons */
.journey-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 5px;
}

.action-button {
    flex: 1;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    color: #fce7c8;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(252, 231, 200, 0.2) 50%, transparent 100%);
    transition: left 0.3s ease;
}

.action-button:not(:disabled):hover {
    border-color: #fce7c8;
    box-shadow: 
        0 0 20px rgba(252, 231, 200, 0.2),
        inset 0 0 20px rgba(252, 231, 200, 0.05);
}

.action-button:not(:disabled):hover::before {
    left: 100%;
}

.button-icon {
    font-size: 16px;
}

/* Popup Modal */
.journey-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* backdrop-filter removed */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.journey-popup-overlay.active {
    display: flex;
}

.journey-popup {
    background: linear-gradient(135deg, rgba(0,0,2,.98) 0%, rgba(12,10,20,.98) 100%);
    border: 2px solid #fce7c8;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    padding: 0;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0,0,2,.8);
    border-bottom: 2px solid rgba(252, 231, 200, 0.2);
}

.popup-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fce7c8;
}

.popup-close {
    background: none;
    border: 2px solid rgba(252, 231, 200, 0.2);
    color: #fce7c8;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.popup-close:hover {
    border-color: #fce7c8;
    background: rgba(252, 231, 200, 0.1);
}

.popup-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Item list popup */
.journey-popup.items-popup {
    width: 600px;
}

/* Materials progress */
.materials-progress {
    background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
    border: 2px solid rgba(252, 231, 200, 0.2);
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.materials-progress.completed {
    border-color: #fce7c8;
    background: linear-gradient(135deg, rgba(227, 187, 122, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
    box-shadow: 0 0 20px rgba(252, 231, 200, 0.2);
}

.materials-progress-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #E3BB7A;
    transition: all 0.3s ease;
}

.materials-progress.completed .materials-progress-text {
    color: #fce7c8;
}

.materials-progress-count {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fce7c8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.materials-progress.completed .materials-progress-count::after {
    content: '✓';
    font-size: 20px;
    color: #fce7c8;
    text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
    animation: completionPulse 0.5s ease;
}

@keyframes completionPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.materials-list {
    display: grid;
    gap: 12px;
    position: relative;
}

.material-category {
    background: rgba(252, 231, 200, 0.05);
    border: 1px solid rgba(252, 231, 200, 0.2);
    padding: 15px;
    position: relative;
}

.material-category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #E3BB7A;
    margin-bottom: 10px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(252, 231, 200, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.material-item:hover {
    background: rgba(252, 231, 200, 0.02);
}

.material-item:last-child {
    border-bottom: none;
}

.material-item.checked {
    opacity: 0.6;
}

.material-item.checked .material-name {
    text-decoration: line-through;
    color: #E3BB7A;
}

.material-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(252, 231, 200, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.material-checkbox::before {
    content: '';
    position: absolute;
    top:    -1px;
    right:  -1px;
    bottom: -1px;
    left:   -1px;
    background: linear-gradient(45deg, transparent 30%, #fce7c8 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.material-checkbox.completed {
    background: #E3BB7A;
    border-color: #fce7c8;
}

.material-checkbox.completed::after {
    content: '✓';
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
}

.material-icon {
    width: 32px;
    height: 32px;
    background: rgba(252, 231, 200, 0.1);
    border: 1px solid rgba(252, 231, 200, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.material-icon img {
    width: 20px;
    height: 20px;
}

.material-name {
    flex: 1;
    font-size: 14px;
    color: #E0E0E0;
    transition: all 0.3s ease;
}

.material-qty {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fce7c8;
}

/* Loading State */
.loading {
    opacity: 0.5;
    position: relative;   /* pointer-events removed for MediaWiki */
}


.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(252, 231, 200, 0.2);
    border-top-color: #fce7c8;
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
}

@keyframes loadingSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .journey-main-container {
        flex-direction: column;
        height: auto;
        min-height: 800px;
    }
    
    .journey-categories {
        flex: 0 0 auto;
        min-height: 300px;
        max-height: 400px;
    }
    
    .journey-details-panel {
        flex: 1 1 auto;
        min-height: 400px;
    }
    
    .journey-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .journey-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .journey-card-inner {
        padding: 12px;
    }
    
    .journey-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .journey-name {
        font-size: 12px;
    }
    
    .journey-details-panel {
        padding: 16px;
    }
}