body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: whitesmoke;
    padding: 0;
}

.know-more-button-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.know-more-button {
    background-color: rgb(59, 131, 186);
    /* Green button */
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.know-more-button:hover {
    background-color: #215b88;
    transform: translateY(-2px);
}

.mlm-plan-details-section {
    display: none;
    /* Initially hidden */
    margin-top: 20px;
    /* Add more styling for the section if needed */
}

.mlm-plan-details-section.active {
    display: block;
    /* Show when active */
}

.dashboard {
    margin-top: 70px;
    width: 97%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    background-color: rgb(244, 239, 239);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-heading {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

.dashboard-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.info-box {
    max-width: 98%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.info-box-title,
.referral-link-title {
    font-size: 1.2rem;
    color: #008cba;
    margin-bottom: 10px;
}

.info-box-content {
    font-size: 1.1rem;
    color: rgb(46, 163, 10);
}

.referral-link-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.referral-link-input {
    flex: 1;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f8f8f8;
}

#gridlay {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.referral-link-button {
    background-color: #008cba;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.referral-link-button:hover {
    background-color: #005f7f;
}

table.sales-table {
    width: 90%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

table.sales-table th,
table.sales-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

table.sales-table th {
    background-color: #f1f9ff;
    font-weight: bold;
    color: #333;
}

table.sales-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.recent-sales-box {
    overflow-x: auto;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}


@media (max-width: 768px) {
    .referral-link-input-container {
        flex-direction: column;
    }

    table.sales-table th,
    table.sales-table td {
        font-size: 0.85rem;
        padding: 8px;
    }
}

.copy-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-input {
    border: none;
    width: fit-content;
    font-weight: 600;
    color: green;
    font-size: 16px;
    flex-grow: 1;
    cursor: default;
}

.copy-button {
    background-color: #e2e8f0;
    border: none;
    color: green;
    padding: 6px 10px;
    margin-left: -20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 16px;
}

.copy-button:hover {
    background-color: #cbd5e0;
}