/* ============================================
   LIFTS PAGE — Public View Styling
   ============================================ */

/* Status Block */
#gp-lifts-status-block {
    display: inline-block;
    padding: 6px 20px;
    background: #eef7ff;
    border: 1px solid #bcd5ff;
    margin-bottom: 16px;
    color: #003366;
    font-size: 0.95rem;
    border-radius: 4px;
}

/* Container */
#gp-lifts-status-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px auto;
    padding: 0;
    font-size: 0.9rem;
}

/* Table */
#gp-lifts-status-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

#gp-lifts-status-wrapper th {
    background-color: #1f4056;
    color: #fff;
    padding: 8px;
}

.liftCell {
    padding: 8px 6px;
    border-bottom: 1px solid #ddd;
}

/* Open/Closed Colors */
.lift-open { background-color: #d4edda; }
/* .lift-closed { background-color: #f8d7da; } */

.liftFootnote {
    font-style: italic;
    text-align: center;
    padding-top: 10px;
}

/* Hide the desktop table entirely */
#gp-lifts-mobile-wrapper {
    display: none;
}

/* ============================================
   LIFTS — Mobile Card Layout (Under 600px)
   ============================================ */

@media (max-width: 600px) {

    /* Hide the desktop table entirely */
    #gp-lift-table {
        display: none;
    }
    /* Add a little breathing room around the status block */
    #gp-lifts-status-block {
        margin: 25px 0 0 0;
    }

    /* Newline after status block label */
    .gp-lifts-updated strong::after {
        content: "\A";
        white-space: pre;
    }

    #gp-lifts-mobile-wrapper {
        display: block;
        margin: 0 auto;        
        text-align: left;        
    }

    /* Card wrapper container */
    .lift-mobile-card {
        display: block;
        padding: 14px 16px;
        margin: 12px 0;
        border: 1px solid #cdd9e2;
        border-radius: 6px;
        background: #fff;
        line-height: 1.35;
        font-size: 0.8rem;
    }

    /* Open lift background */
    .lift-mobile-card.open {
        background: #e8f8ec; /* soft green */
        border-color: #b7d8c0;
    }

    /* Lift name */
    .lift-mobile-name {
        border-bottom: 1px solid #a3b0be; /* subtle light line */
        display: block;
        font-weight: bold;
        font-size: 1rem;
        margin-bottom: 6px;        
    }
 
    /* Status rows (Day/Night) */
    .lift-mobile-row {
        display: flex;
        align-items: center;
        margin: 4px 0;
    }

    .lift-mobile-label {
        display: inline-block;
        width: 55px;   /* ← adjust until perfect */
        font-weight: bold;
    }

    .lift-mobile-icon {        
        font-size: 1rem;
        margin-right: 6px;
        margin-top: 5px;;
        text-align: center;
        width: 1.2rem; /* consistent alignment */
    }

    .lift-mobile-text {
        display: inline-block;
    }    
}
