/* -------------------------------------------------------------
   WRAPPER
--------------------------------------------------------------*/
#luc-wrapper {
    max-width: 780px;
    margin: 0 auto;
    font-family: inherit !important;
    font-size: 12px !important;
}

/* -------------------------------------------------------------
   CALCULATOR OUTER CARD
--------------------------------------------------------------*/
#luc-calculator {
    padding: 25px 25px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 0 25px rgba(0,0,0,0.10);
    border: 1px solid #e6e6e6;
    margin-bottom: 30px;
}

/* -------------------------------------------------------------
   TITLE
--------------------------------------------------------------*/
.luc-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* -------------------------------------------------------------
   LABELS
--------------------------------------------------------------*/
.luc-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

/* -------------------------------------------------------------
   FORM GRID
--------------------------------------------------------------*/
.luc-row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.luc-col {
    flex: 1;
}

/* -------------------------------------------------------------
   INPUTS & SELECT BOXES
--------------------------------------------------------------*/
.luc-input,
.luc-select {
    width: 100%;
    padding: 10px 12px;
    background: #f7f8f9;
    border: 1px solid #cccccc;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit !important;
}

.luc-input:focus,
.luc-select:focus {
    border-color: #1d2d06;
    outline: none;
}

/* Validation */
.luc-error {
    border-color: red !important;
}

/* -------------------------------------------------------------
   BUTTONS (Lo Shu style)
--------------------------------------------------------------*/
.luc-btn-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.luc-btn {
    padding: 12px 36px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s ease;
}

#luc-calc-btn {
    background: #1d2d06;
}

#luc-reset-btn {
    background: #3f3f3f;
}

#luc-calc-btn.calculating {
    opacity: 0.7;
}

/* -------------------------------------------------------------
   RESULT CARDS (1–5)
--------------------------------------------------------------*/
.luc-card {
    background: #ffffff;
    padding: 22px 22px;
    border: 1px solid #e6e6e6;
    border-radius: 22px;
    margin-bottom: 30px;
    box-shadow: 0 0 25px rgba(0,0,0,0.10);
}

/* Card Titles */
.luc-card h5 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Rows inside cards */
.luc-list p {
    margin: 4px 0;
    font-size: 13px;
}

/* -------------------------------------------------------------
   BREAKUP TEXT (same row)
--------------------------------------------------------------*/
.luc-breakup {
    font-size: 11px !important;
    margin-left: 5px;
    opacity: 0.85;
    display: inline-block;
    white-space: nowrap;
}

/* -------------------------------------------------------------
   TABLES
--------------------------------------------------------------*/
.luc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.luc-table th {
    background: #f2f2f2;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-weight: 600;
}

.luc-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

/* -------------------------------------------------------------
   DISCLAIMER
--------------------------------------------------------------*/
#luc-note-card {
    background: #fff8cc;
    border: 1px solid #e5d27c !important;
    font-size: 11px !important;
}

#luc-note-card b {
    font-weight: 700;
}

/* -------------------------------------------------------------
   MOBILE
--------------------------------------------------------------*/
@media (max-width: 650px) {
    .luc-row {
        flex-direction: column;
    }

    .luc-btn-row {
        flex-direction: column;
        gap: 12px;
    }

    .luc-btn {
        width: 100%;
        text-align: center;
    }
}

/* -------------------------------------------------------------
   CALCULATING TEXT
--------------------------------------------------------------*/
#luc-calc-btn.calculating::after {
    content: " (Calculating...)";
    font-size: 12px;
}
