/* EVERYTHING IS NOW PROTECTED INSIDE .phl-wrapper */
.phl-wrapper * {
    all: revert;
    box-sizing: border-box;
}

/* PAGE */
.phl-wrapper body {
    background: #E0E1DD;
    font-family: Arial, sans-serif;
    color: #0D1B2A;
}



/* INFO BLOCK */
.phl-wrapper .info-text {
    margin: 20px 0;
    padding: 16px 20px;
    background: #C4CFDD;
    border: 2px solid #1B263B;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #131313;
    position: relative;
}

.phl-wrapper .info-text::before {
    content: "Information";
    display: block;
    background: #415A77;
    color: #E0E1DD;
    padding: 6px 10px;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
    font-size: 1rem;
    margin: -16px -20px 12px -20px;
}

/* FORM WRAPPER */
.phl-wrapper .item {
    margin-bottom: 15px;
    padding: 12px;
    border: 2px solid #1B263B;
    background: #415A77;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 6px;
}

/* INPUT GROUP */
.phl-wrapper .field {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    flex: 1;
}

/* INPUTS + SELECTS */
.phl-wrapper .field input,
.phl-wrapper .field select {
    height: 36px;
    padding: 6px;
    background: #E0E1DD;
    border: 1px solid #415A77;
    border-radius: 4px;
    color: #0D1B2A;
    width: 100%;
}

/* LABELS */
.phl-wrapper label {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 4px;
    color: #E0E1DD;
}



/* MOBILE */
@media (max-width: 600px) {
    .phl-wrapper .field {
        min-width: 100%;
    }
}

@media (max-width: 900px) {
    .phl-wrapper .entry div {
        flex-direction: column;
        text-align: left;
        border-bottom: none;
        border-right: none;
        background: #415a77;
    }

    .phl-wrapper .entry div:last-child { border-bottom: none; }

    .phl-wrapper .entry.totals {
        display: block;
        padding: 12px;
        text-align: center;
        border-radius: 6px;
        background: #37A0AC;
    }

    .phl-wrapper .entry.totals div {
        background: transparent;
        border-bottom: none;
        padding: 4px 0;
    }
}

/* DELETE BUTTON 
.phl-wrapper .delete-btn {
    background: #1B263B;
    color: #0D1B2A;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.phl-wrapper .delete-btn:hover {
    background: #415A77;
} */

/* TABLE */
.phl-wrapper .table-wrap {
    width: 100%;
    overflow-x: auto;
}

.phl-wrapper table {
    width: 100%;
    border-collapse: collapse;
   /* background: #C4CFDD;*/
    color: #0D1B2A;
 /*   border: 0px solid #1B263B;*/
}

.phl-wrapper th {
    padding: 10px;
    background: #415A77;
    color: #E0E1DD;
    border-bottom: 2px solid #1B263B;
}

.phl-wrapper td {
    padding: 8px;
    background: #C4CFDD;
    border-bottom: 2px solid #1B263B;
}

.phl-wrapper tr:nth-child(even) {
    background: #C4CFDD;
}


@media print {
    .phl-wrapper .delete-btn,
    .phl-wrapper .print-btn {
        display: none;
    }
}

/* ENTRY LIST */
.phl-wrapper .entry-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.phl-wrapper .entry-card {
    background: #C4CFDD;
    border: 2px solid #1B263B;
    padding: 16px;
    border-radius: 8px;
    color: #0D1B2A;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phl-wrapper .entry-card strong {
    color: #415A77;
    font-weight: bold;
}

.phl-wrapper .entry-actions {
    margin-top: 10px;
}

.phl-wrapper .date-range {
    display: flex;
    gap: 8px;
    align-items: center;
}

.phl-wrapper .range-sep {
    font-weight: bold;
}



/* PRINT BUTTON 
.phl-wrapper .print-btn {
    background: #778DA9;
    color: #0D1B2A;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    margin-top: 20px;
}

.phl-wrapper .print-btn:hover {
    background: #415A77;
}

*/

/* BUTTONS 
.phl-wrapper button {
    background: #21A1C8;
    color: #0D1B2A;
    border: none;
    padding: 10px 18px;
    margin-top: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.phl-wrapper button:hover {
    background: #415A77;
} */

/* 100% SAFE GLOBAL BUTTON FIX 
.phl-wrapper button,
.phl-wrapper input[type="submit"],
.phl-wrapper input[type="button"],
.phl-wrapper .remove-wrapper button {
    background: #1b263b;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
} */

/*
.phl-wrapper h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #415A77;
}

.phl-wrapper h2 {
    color: #415A77;
}
*/