.sc-numerology-wrapper {
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--sc-text);
    font-size: var(--sc-font-size);
    font-weight: var(--sc-font-weight);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid System */
.sc-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Card */
.sc-calc-card {
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-align: center;
}
.sc-calc-card:hover {
    transform: scale(1.02);
}
.sc-calc-card-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.sc-calc-card-icon-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
}
.sc-calc-card-content h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--sc-primary);
}

/* Single Page Split Layout */
.sc-calc-single-page {
    animation: fadeIn 0.4s ease;
    background: #F8F9FA;
    padding: 40px;
    border-radius: 16px;
}

.sc-btn-back {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
    display: inline-flex;
    align-items: center;
}
.sc-btn-back:hover { color: var(--sc-primary); }

.sc-calc-split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Form Area */
.sc-calc-form-area {
    flex: 1;
    min-width: 350px;
    padding: 40px;
}

.sc-single-main-title {
    margin-top: 0;
    margin-bottom: 30px;
    color: #000;
    font-size: 1.8rem;
    font-weight: 700;
}

.sc-form-group {
    margin-bottom: 20px;
}
.sc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}
.sc-form-group input[type="text"], 
.sc-form-group input[type="number"], 
.sc-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #555;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.sc-form-group input:focus, .sc-form-group select:focus {
    outline: none;
    border-color: #999;
}

/* Inline Fields (Day, Month, Year) */
.sc-inline-fields {
    display: flex;
    gap: 15px;
}
.sc-inline-fields > input,
.sc-inline-fields > select {
    flex: 1;
    background: #F4F5F7;
    border: 1px solid #E2E4E7;
}

/* Fix for excessively long custom dropdowns generated by themes/plugins */
.select2-container .select2-results__options,
.select2-dropdown,
.choices__list--dropdown,
.choices__list--dropdown .choices__list,
.nice-select .list,
.select-options,
ul[class*="select-dropdown"],
div[class*="select-dropdown"],
ul[class*="dropdown-menu"],
ul[class*="select-list"],
.sc-form-group ul,
.sc-form-group div[class*="list"],
.sc-form-group div[class*="dropdown"] {
    max-height: 220px !important;
    overflow-y: auto !important;
}

.sc-btn-submit-yellow {
    background: #F5A623;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}
.sc-btn-submit-yellow:hover { background: #E09612; }

/* Image Area with Stats */
.sc-calc-image-area {
    flex: 1;
    min-width: 350px;
    background: #000;
    position: relative;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
}

.sc-side-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 400px;
}
.sc-side-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-stats-overlay {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.sc-stat-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.sc-stat-box strong {
    display: block;
    font-size: 1.2rem;
    color: #222;
    font-weight: 800;
}
.sc-stat-box span {
    font-size: 0.8rem;
    color: #666;
    display: block;
}

/* Result Area */
.sc-calc-result-area {
    animation: fadeIn 0.4s ease;
    background: #fff;
    padding: 20px 0;
}

.sc-result-user-summary {
    background: #EAF9FF;
    border: 1px solid #BCEBFF;
    border-radius: 8px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.sc-summary-info {
    display: flex;
    gap: 30px;
    font-size: 0.95rem;
    color: #333;
}
.sc-summary-info strong { color: #555; }

.sc-btn-report {
    background: #00A6F9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.sc-btn-report:hover { background: #008DD6; }

.sc-result-message-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.sc-result-custom-message {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Result Table Box for Dates */
.sc-result-table-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    margin-bottom: 20px;
    overflow: hidden;
}
.sc-result-table-label {
    padding: 20px 25px;
    font-weight: 700;
    color: #555;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    width: 200px;
    flex-shrink: 0;
}
.sc-result-table-value {
    padding: 20px 25px;
    color: #333;
    flex-grow: 1;
}

/* Products Grid */
.sc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.sc-product-card {
    text-align: center;
}
.sc-product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #F9F9F9;
}
.sc-product-card h4 {
    margin: 15px 0 10px;
    font-size: 1rem;
    color: #333;
}
.sc-btn-buy {
    background: #F5A623;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}
.sc-btn-buy:hover { background: #E09612; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .sc-calc-split-layout { flex-direction: column; }
    .sc-calc-image-area { 
        min-height: 250px; 
        border-top-right-radius: 0;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    .sc-stats-overlay { position: relative; bottom: auto; left: auto; right: auto; padding: 20px; background: #000; }
    .sc-summary-info { flex-direction: column; gap: 10px; }
    .sc-result-table-box { flex-direction: column; }
    .sc-result-table-label { width: 100%; border-right: none; border-bottom: 1px solid #e0e0e0; }
}
