/**
 * Photography Expeditions for WooCommerce
 * Compact Expedition Types Layout CSS
 * Version: 3.6.1
 * 
 * Provides two-column layout styling for expedition type options
 * with stacked private options and combined group options
 */

/* Main container for the compact expedition types */
.pew-expedition-types-compact {
    width: 100%;
    margin: 0 0 20px;
}

/* Row that contains the two columns */
.pew-expedition-types-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0;
}

/* Column styling */
.pew-expedition-column {
    flex: 1;
    min-width: 280px;
    position: relative;
    padding: 0px;
}

/* Add divider for left column */
.pew-expedition-column.pew-left-column::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e5e5e5;
}

/* Container styling for each expedition section */
.pew-expedition-type-container {
    margin-bottom: 20px;
}

/* Unified selection style for all options */
.pew-expedition-type-container .pew-compact-option,
.pew-compact-option {
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

/* Hover removed for expedition types */

.pew-expedition-type-container .pew-compact-option.selected,
.pew-compact-option.selected {
    border-color: #2ecc71;
    background: #f0fff4;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.2);
}

.pew-compact-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.pew-compact-description {
    color: #34495e;
    margin-bottom: 8px;
}

.pew-option-price {
    color: #e67e22;
    font-weight: 600;
}

.pew-expedition-type-container .pew-compact-option input[type="radio"] {
    display: none;
}

.pew-expedition-type-container .pew-compact-option.selected::after {
    display: none;
}

/* Different border colors for each type */
.pew-private-container {
}

.pew-join-group-container {
    border-left-color: #e74c3c;
}

.pew-whole-group-container {
    border-left-color: #2ecc71;
}

/* Heading styles */
.pew-expedition-type-container h4 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #333;
    font-weight: 600;
}

.pew-expedition-type-container .pew-type-description {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

/* Stacked private expedition options */
.pew-private-options-stacked .pew-compact-option {
    margin-bottom: 12px;
    width: 100%;
}

/* Private expedition note styling */
.pew-private-expedition-note {
    background: #f0f7fd;
    border-radius: 4px;
    padding: 10px 15px;
    margin-top: 15px;
    border-left: 3px solid #3498db;
}

.pew-private-expedition-note h5 {
    font-size: 14px;
    margin: 0 0 5px;
    color: #2980b9;
}

.pew-private-expedition-note p {
    font-size: 13px;
    margin: 0;
    color: #555;
    line-height: 1.4;
}

/* ============================================================
   Independent Expedition – Full-Width Card
   ============================================================ */

.pew-independent-expedition-wrapper {
    width: 100%;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.pew-independent-option {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    margin-bottom: 0;
}

.pew-independent-option:hover {
    border-color: #b3c6e0;
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.14);
}

.pew-independent-option.selected {
    border-color: #2ecc71;
    background: #f0fff4;
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.22);
}

/* Pricing row – left-aligned, matching card body pattern */
.pew-independent-pricing {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.pew-independent-original-price {
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
    text-decoration: line-through;
}

.pew-independent-discounted-price::before {
    content: '→ ';
    color: #aaa;
    font-size: 14px;
    font-weight: 400;
}

.pew-independent-discounted-price {
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
}

.pew-independent-label {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #27ae60;
    border-radius: 10px;
    padding: 2px 9px;
    white-space: nowrap;
    align-self: flex-end;
}

/* Mentorship line – orange to match other cards */
.pew-independent-option .pew-option-price {
    color: #e67e22;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

/* Accommodation notice */
.pew-independent-accommodation-notice {
    background: #f0f7fd;
    border-left: 3px solid #3498db;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.5;
}

/* Responsive styling */
@media (max-width: 768px) {
    .pew-expedition-types-row {
        flex-direction: column;
    }
    
    .pew-expedition-column {
        width: 100%;
    }

    .pew-independent-pricing {
        gap: 6px;
    }

    .pew-independent-discounted-price {
        font-size: 17px;
    }
}