/* ROI Calculator Styles - Based on Balanced Body Design */
.wpdudecom-calculator-container {
    margin: 0 auto;
    padding: 0;
    
    display: flex;
    gap: 20px;
    min-height: 100vh;
}
.wpdudecom-calculator-container p 
{
    margin: 0!important;
}


.wpdudecom-sidebar {
    width: 500px;
    background: #f6f6f6;
    padding: 30px 20px;
    border-left: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Section Styling */
.wpdudecom-section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 0;
}

.wpdudecom-section h3 {
    margin: 0 0 30px 0;
    font-size: 26px;
    font-weight: 500;
    color: #333;
    position: relative;
    padding-left: 30px;
}

.wpdudecom-section h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffd700ab;
}

/* Equipment Section */
.wpdudecom-equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.wpdudecom-equipment-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.2s ease;
    position: relative;
}

.wpdudecom-equipment-item:hover {
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wpdudecom-equipment-item h4 {
    margin: 5px 0 25px 0;
    font-size: 17px;
    font-weight: 500;
    color: #333;
    text-align: left;
    border: none;
    padding: 0;
}

.wpdudecom-inputs-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.wpdudecom-multiplication-sign {
    font-size: 30px;

    color: #66666673;
    padding: 0;
    margin-top: 0px;
}

.wpdudecom-inputs-row .wpdudecom-input-group {
    flex: 1;
    margin-bottom: 0;
    position: relative;
}
.wpdudecom-inputs-row  .wpdudecom-total {
    flex: 0.7;
    margin-bottom: 0;
    position: relative;
}
.wpdudecom-equipment-item .wpdudecom-input-group label, 
.wpdudecom-equipment-item .wpdudecom-total label {
    background: #fff;
    font-size:0.80rem;
    left: 50%;
    padding: 0 5px;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    color: #666;
z-index: 1;
    font-weight: 500;
}
.wpdudecom-equipment-item .wpdudecom-total label
{
    font-weight: 500;
}
.wpdudecom-equipment-item .wpdudecom-input-group label
{
    font-weight: 300;
}

.wpdudecom-equipment-item input {
    width: 100%;
    padding: 12px 0;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    font-size: 16px;
    background: #fff;
    transition: all 0.2s ease;
    text-align: center;
}

.wpdudecom-equipment-item input:focus {
    outline: none;
    border-color: #c4cd26;
    background: #fff;

}

.wpdudecom-total {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.wpdudecom-input-group.wpdudecom-qty-group
    {
        flex: 0.8;
    }
.wpdudecom-product-total {

    background: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpdudecom-section-total {
    margin-top: 30px;
    padding: 10px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;

}

/* Revenue Section */
#wpdudecom-revenue-section h3:before {
    background: #2bbd1dab;
}

.wpdudecom-tabs {
    margin-top: 20px;
}

.wpdudecom-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.wpdudecom-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #dbdbdb;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.2s ease;
    color: #666;
}

.wpdudecom-tab-btn:hover {
    border-color: #ccc;
    color: #333;
    background-color: #fff;
}

.wpdudecom-tab-btn.wpdudecom-active {
   
    border-color: #c4cd26;
    color: #333;
    background-color: #fff;
}

.wpdudecom-tab-content {
    display: none;
    padding: 30px 0 0 0;
    border: none;
    background: transparent;
    border-radius: 0;
}

.wpdudecom-tab-content.wpdudecom-active {
    display: block;
}

.wpdudecom-tab-content h4 {
    margin: 0 0 25px 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.wpdudecom-revenue-inputs {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding: 0 10px;
}

.wpdudecom-revenue-inputs .wpdudecom-input-group {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

.wpdudecom-revenue-inputs .wpdudecom-input-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;

}

.wpdudecom-revenue-inputs input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    min-width: 150px;
    transition: all 0.2s ease;
}

.wpdudecom-revenue-inputs input:focus {
    outline: none;
    border-color: #c4cd26;
    background: #fff;
    
}

.wpdudecom-revenue-results p {
    margin: 0!important;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    justify-self: flex-end;
}

/* Expenses Section */
#wpdudecom-expenses-section h3:before {
    background: #007bffab;
}

.wpdudecom-expense-input {
    margin-bottom: 15px;
    display: flex;
    border-bottom: 1px solid #e5e5e5;
}



.wpdudecom-expense-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    flex: 1;
    color: #333;
    font-size: 14px;
}

.wpdudecom-expense-input input {
    width: auto;
    max-width: 120px; 
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
max-width: 150px;
    transition: all 0.2s ease;
    
}
.wpdudecom-expense-input input[type=number]
{
    max-width: 150px;
}

.wpdudecom-expense-input input:focus {
    outline: none;
    border-color: #c4cd26;
    background: #fff;
   
}

.wpdudecom-expense-totals {

    margin-top: 30px;
    padding: 10px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;


}




/* Sidebar Styling */
.wpdudecom-sidebar .wpdudecom-section {
    
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 30px;
    background: #f6f6f6;
}

.wpdudecom-sidebar .wpdudecom-section h3 {
    font-size: 26px;
    color: #333;
    background: #f6f6f6;
    margin-bottom: 30px;
    padding-left: 0;
}

.wpdudecom-sidebar .wpdudecom-section h3:before {
    display: none;
}

.wpdudecom-total-group {
    margin-bottom: 20px;
    padding: 20px 0;
    background: #f6f6f6;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
}

.wpdudecom-total-group:last-child {
    border-bottom: none;
}

.wpdudecom-total-group h4 {
    margin: 0 0 15px 0;
    color: #333;

    font-weight: 500;
    position: relative;
    padding-left: 30px;
}

.wpdudecom-total-group h4:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Equipment Investment dot */
.wpdudecom-total-group:nth-child(2) h4:before {
    background: #ffd700ab;
}

/* Training Revenue dot */
.wpdudecom-total-group:nth-child(3) h4:before {
    background: #2bbd1dab;
}

/* Business Expenses dot */
.wpdudecom-total-group:nth-child(4) h4:before {
    background: #007bffab;
}
/* Business Expenses dot */
.wpdudecom-total-group:nth-child(5) h4:before {
    background: #24a835;
}

.wpdudecom-total-group p {
    margin: 6px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.wpdudecom-total-group small {
    color: #999;
    font-size: 12px;
}



/* Final Results Box */
.wpdudecom-final-results {
    margin-top: 40px;
    padding: 15px;
    background: #fff;
    border: 2px solid #c4cd26;
    border-radius: 8px;

}

.wpdudecom-result-box {
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex  ;
    text-align: left;
    align-items: baseline
}

.wpdudecom-result-box:last-child {
    margin-bottom: 0;
}

.wpdudecom-result-box h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    flex: 1;
    margin-bottom: 0;
    align-self: center;
}

.wpdudecom-big-number {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin: 0;
    min-width:56px;
    padding-left: 10px;
}

/* Credits */
.wpdudecom-credits {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    
    color: #999;
    font-size: 12px;
}

.wpdudecom-credits a {
    color: #007cba;
    text-decoration: none;
}

.wpdudecom-credits a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .wpdudecom-calculator-container {
        flex-direction: column;
    }
    

    
    .wpdudecom-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-left: none;
        border-top: 1px solid #e5e5e5;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {

    
    .wpdudecom-sidebar {
        padding: 20px 15px;
    }
    
    .wpdudecom-section {
        padding: 20px;
    }
    
    .wpdudecom-equipment-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wpdudecom-revenue-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .wpdudecom-tab-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .wpdudecom-tab-btn {
        border-radius: 20px;
    }
    
    .wpdudecom-final-results {
        padding: 20px;
    }
}



.revenue-container
{
  display:flex;
  align-items: stretch;

}
.revenue-container .wpdudecom-revenue-inputs
{
  flex:1;
}
.revenue-container .wpdudecom-revenue-results
{
  flex:0.7;
}

#wpdudecom-tab-private .revenue-container .wpdudecom-revenue-results
{
flex: 1;
}

/* Input wrapper for currency suffix */
.wpdudecom-input-wrapper {
    position: relative;
    display: inline-block;
    flex: 0;
}

.wpdudecom-input-wrapper input {
    padding-right: 35px;
}

.wpdudecom-currency-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    font-weight: 500;
}