.b2rm-calculator-container {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 1000px;
    margin: 20px auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #939393 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    overflow: hidden;
}

.b2rm-row {
    display: flex;
    flex-wrap: wrap;
}

.b2rm-col {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.b2rm-inputs {
    background-color: #fff;
}

.b2rm-results {
    background-color: #ededee !important;
    border-left: 1px solid #939393 !important;
}

.b2rm-calculator-container h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    color: #1a2b4b;
}

.b2rm-field {
    margin-bottom: 20px;
}

.b2rm-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}

.b2rm-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.b2rm-input:focus {
    border-color: #0073aa;
    outline: none;
}

.b2rm-note {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin-top: 20px;
}

/* Results Table */
.b2rm-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.b2rm-result-table th {
    text-align: left;
    background: rgba(0,0,0,0.05);
    padding: 12px;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.5px;
}

.b2rm-result-table td {
    padding: 12px;
    border-bottom: 1px dashed #939393;
    font-size: 14px;
    color: #333;
}

.text-right {
    text-align: right;
}

/* Summary Cards */
.b2rm-summary-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.b2rm-card {
    flex: 1;
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    border: 1px solid #939393;
    text-align: left;
}

.card-label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.card-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #1a2b4b;
}

.b2rm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b2rm-btn-add-list, .b2rm-btn-excel, .b2rm-btn-consultancy {
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: block;
    text-decoration: none;
    box-sizing: border-box;
}

.b2rm-btn-consultancy {
    background: #e16f00;
    color: #fff !important;
}

.b2rm-btn-consultancy:hover {
    background: #c46100;
}

.b2rm-btn-add-list {
    background: #28a745;
    color: #fff;
}

.b2rm-btn-add-list:hover {
    background: #218838;
}

.b2rm-btn-excel {
    background: #1d6f42;
    color: #fff;
    max-width: 250px;
    margin-top: 20px;
}

.b2rm-btn-excel:hover {
    background: #155231;
}

.b2rm-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 11px;
    color: #aaa;
}

/* List Table Styles (Based on resul1.png) */
.b2rm-list-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #939393;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.b2rm-list-container h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #1a2b4b;
    font-size: 22px;
}

.b2rm-table-responsive {
    overflow-x: auto;
}

.b2rm-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.b2rm-list-table thead th {
    background: #ededee;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #939393;
    color: #1a2b4b;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.b2rm-list-table tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    color: #444;
    vertical-align: middle;
}

.b2rm-list-table tbody tr:last-child td {
    border-bottom: none;
}

.b2rm-remove-item {
    color: #dc3545;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
    display: inline-block;
    line-height: 1;
}

.b2rm-remove-item:hover {
    color: #a71d2a;
}

@media (max-width: 768px) {
    .b2rm-row {
        flex-direction: column;
    }
    .b2rm-results {
        border-left: none;
        border-top: 1px solid #939393;
    }
}

/* Modal Styles */
.b2rm-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.b2rm-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #939393;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.b2rm-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.b2rm-modal-close:hover {
    color: #333;
}

.b2rm-modal h3 {
    margin-top: 0;
    color: #1a2b4b;
    font-size: 24px;
    margin-bottom: 10px;
}

.b2rm-modal p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}
