/* -------------------------------
   Life Path Calculator – Premium Theme A
   Soft Cream | Warm Brown | Elegant
-------------------------------- */

/* Base wrapper */
.lp-wrapper {
    max-width: 620px;
    margin: 26px auto;
    padding: 0 18px;
    font-family: "Georgia", "Times New Roman", serif;
    color: #3A281A;
    line-height: 1.5;
}

/* Title & subtitle */
.lp-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #3A281A;
    letter-spacing: 0.2px;
}

.lp-subtitle {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
    color: #67574b;
}

/* Calculator box */
.lp-box {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(42, 28, 20, 0.06);
}

/* Input area */
.lp-label {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
    color: #4b372c;
}

.lp-input-wrap {
    position: relative;
    margin-bottom: 14px;
}

.lp-input {
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #e0d8d2;
    font-size: 16px;
    background: #fffaf7;
    color: #3a281a;
    outline: none;
    box-sizing: border-box;
}

.lp-input:focus {
    border-color: #c2b1a6;
    box-shadow: 0 4px 14px rgba(58,40,26,0.06);
}

/* small hint */
.lp-input-hint {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    color: #9a8577;
}

/* Button */
.lp-btn {
    width: 100%;
    display: inline-block;
    padding: 14px 18px;
    margin-top: 6px;
    border-radius: 12px;
    background: linear-gradient(180deg,#3A281A,#543b30);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(58,40,26,0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(58,40,26,0.16);
}

/* Hide result when empty */
.lp-result:empty {
    display: none;
}

/* Result container - Soft Cream look (no left border, soft shadow) */
.lp-result {
    margin-top: 18px;
    background: #fbf5f1;
    border-radius: 16px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: opacity 240ms ease, transform 240ms ease;
    opacity: 0;
    transform: translateY(6px);

    /* Remove left border (theme may have added previously) */
    border-left: none !important;

    /* Soft card shadow */
    box-shadow: 0 4px 18px rgba(58,40,26,0.08);
}

/* visible state */
.lp-result:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}

/* remove theme pseudo elements in case of overrides */
.lp-result::before,
.lp-result::after {
    content: "" !important;
    display: none !important;
}

/* animated pop-in for the card content */
.lp-pop {
    animation: lpPop 360ms cubic-bezier(.2,.9,.3,1);
}
@keyframes lpPop {
    0% { transform: translateY(12px) scale(0.997); opacity: 0; }
    60% { transform: translateY(-6px) scale(1.01); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* inner card */
.lp-card {
    padding: 8px 4px;
}

/* heading inside result */
.lp-result h3 {
    font-size: 26px;
    margin: 6px 0 12px;
    font-weight: 700;
    color: #3A281A;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

/* main number style */
.lp-number {
    display: inline-block;
    font-size: 36px;
    font-weight: 900;
    color: #3A281A;
    background: rgba(58,40,26,0.04);
    padding: 6px 12px;
    border-radius: 8px;
}

/* Core personality */
.lp-section {
    margin-bottom: 12px;
}
.lp-sec-title {
    font-size: 15px;
    color: #5a4035;
    margin: 6px 0;
    font-weight: 700;
}
.lp-meaning {
    font-size: 16px;
    color: #4b372c;
    margin: 6px 0 10px;
}

/* grid for colors/days */
.lp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.lp-col {
    background: rgba(58,40,26,0.02);
    padding: 10px;
    border-radius: 10px;
}

/* mini titles */
.lp-mini-title {
    font-size: 13px;
    margin-bottom: 8px;
    color: #5a4035;
    font-weight: 700;
}

/* lists */
.lp-list {
    list-style: none;
    padding-left: 6px;
    margin: 0;
}

.lp-list li {
    padding: 6px 0;
    font-size: 14px;
    color: #4b372c;
    border-bottom: 1px dashed rgba(74, 53, 45, 0.06);
}

/* strengths/weaknesses two columns */
.lp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 10px;
}

/* PDF button */
.lp-pdf-btn {
    margin-top: 14px;
    width: 100%;
    padding: 12px;
    background: #3A281A;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    box-shadow: 0 4px 14px rgba(58,40,26,0.12);
}

.lp-pdf-btn:hover {
    background: #5a3c27;
    transform: translateY(-2px);
}

/* share box & buttons */
.lp-share-box {
    margin-top: 14px;
    padding-top: 10px;
}

.lp-share-title {
    font-size: 14px;
    margin-bottom: 8px;
    color: #5a4035;
    font-weight: 700;
}

.lp-share-btn {
    display: inline-block;
    margin: 4px 6px 4px 0;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f1e7e0;
    border: 1px solid #d8c9c0;
    cursor: pointer;
    color: #3a281a;
    font-size: 14px;
    transition: 0.3s;
}

.lp-share-btn:hover {
    background: #e7d8cf;
}

/* footer note */
.lp-footer-note {
    margin-top: 12px;
    font-size: 13px;
    color: #7b6256;
}

/* error message */
.lp-error {
    background: #fff0ef;
    color: #7b2f2f;
    padding: 12px;
    border-radius: 10px;
    border-left: 4px solid #d2695a;
}

/* responsive adjustments */
@media (max-width: 640px) {
    .lp-wrapper { padding: 0 12px; }
    .lp-title { font-size: 26px; }
    .lp-grid { grid-template-columns: 1fr; }
    .lp-two-col { grid-template-columns: 1fr; }
    .lp-number { font-size: 28px; padding: 4px 10px; }
    .lp-result { padding: 16px; }
    .lp-pdf-btn { padding: 12px; }
}
