.calculator-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #2a2e3a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-details {
    margin: 30px 0;
}

.error-text {
    margin: 30px 0;
    background-color: #dc3545;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.hidden {
    visibility: hidden;
    display: none;
}

.visible {
    visibility: visible; 
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.detail-label {
    color: #adb5bd;
    font-weight: bold;
}

.detail-value {
    color: white;
}

.price-summary {
    margin-top: 40px;
    padding: 20px;
    background: #3d424d;
    border-radius: 8px;
}

.total-price {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
}

.btn-continue {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 30px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

.btn-continue:hover {
    background-color: #0069d9;
}

/* Branch styling */
.branches-section {
    margin: 30px 0;
    padding: 20px;
    background: #3d424d;
    border-radius: 8px;
}

.branches-title {
    margin-bottom: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-container {
    margin-bottom: 20px;
    padding: 15px;
    background: #2a2e3a;
    border-radius: 5px;
    position: relative;
}

.d-label-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.d-label {
    display: block;
    color: #adb5bd;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: solid 1px rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: white;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-control::placeholder {
    color: #adb5bd;
    opacity: 0.7;
}

.add-branch-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.add-branch-btn:hover {
    background: #0069d9;
}

.remove-branch-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.remove-branch-btn:hover {
    background: #c82333;
}

/* Cash register styling */
.kasa-container {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 12px;
    background: #353c4a;
    border-radius: 5px;
    position: relative;
}

.kasa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.kasa-title {
    font-size: 14px;
    color: #adb5bd;
    font-weight: 500;
}

.add-kasa-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.add-kasa-btn:hover {
    background: #0069d9;
}

.remove-kasa-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.remove-kasa-btn:hover {
    background: #c82333;
}

.remove-kasa-btn.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #6c757d;
}

.remove-kasa-btn.disabled-btn:hover {
    background-color: #6c757d;
}

.kasa-list {
    margin-top: 10px;
}

.kasa-item {
    position: relative;
    margin-bottom: 10px;
}

.kasa-input-group {
    display: flex;
    align-items: center;
}

/* Form validation styling */
.error-input {
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important;
}

/* Fiscaldatenspeicher styling */
.fiscal-section {
    margin: 30px 0;
    padding: 20px;
    background: #3d424d;
    border-radius: 8px;
}

.fiscal-header {
    margin-bottom: 20px;
    color: white;
}

.fiscal-controls {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.fiscal-label {
    color: #adb5bd;
    font-weight: 500;
    margin-right: 15px;
}

.fiscal-counter {
    display: flex;
    align-items: center;
}

.counter-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: #0069d9;
}

.counter-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.counter-value {
    margin: 0 15px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.fiscal-price {
    margin-top: 15px;
}

.original-price {
    color: #adb5bd;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount-price {
    color: #fff;
    font-weight: bold;
}

/* Serviceleistungen Section Styles */
.service-section {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
}

.service-header {
    margin-bottom: 20px;
}

.service-header h4 {
    color: #fff;
    margin-bottom: 10px;
}

.service-header p {
    color: #adb5bd;
    font-size: 0.9em;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.service-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.service-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.service-checkbox label {
    color: #fff;
    cursor: pointer;
    font-size: 0.95em;
    margin: 0;
}

.service-price {
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    min-width: 80px;
    text-align: right;
}

/* Installation Fee Section Styles */
.installation-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.installation-header {
    margin-bottom: 20px;
}

.installation-header h4 {
    color: #fff;
    margin-bottom: 5px;
}

.installation-header p {
    color: #999;
    font-size: 14px;
}

.installation-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.installation-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
}

.install-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.installation-option label {
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.installation-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
}

.installation-option-1mounth {
    display: none;
    visibility: hidden;
}

.one-time-payments {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.one-time-payments h5 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.1em;
}

.total-one-time {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-totals {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.first-month {
    margin-bottom: 10px;
    font-weight: bold;
}

.monthly-recurring {
    color: #8de02c;
    font-weight: bold;
}

.total-one-time .detail-value,
.first-month .detail-value,
.monthly-recurring .detail-value {
    font-size: 1.1em;
}

.first-month .detail-label,
.monthly-recurring .detail-label {
    font-size: 1.05em;
}

/* Price Summary Styles */
.price-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.price-summary h4 {
    color: #fff;
    margin-bottom: 20px;
}

.monthly-payments,
.one-time-payments {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.monthly-payments h5,
.one-time-payments h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #adb5bd;
}

.detail-value {
    color: #fff;
    font-weight: 500;
}

.total-one-time {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.final-totals {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.first-month {
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
}

.monthly-recurring {
    color: #007bff;
    font-size: 1.1em;
    font-weight: bold;
}

.btn-continue {
    width: 100%;
    padding: 15px;
    background: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-continue:hover {
    background: #007bff;
}

@media (max-width: 768px) {
    .service-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-price {
        align-self: flex-end;
    }
}

.disable {
    visibility: hidden;
    display: none;
}