/**
 * Arkusz stylów dla kalkulatora kosztów księgowości
 * 
 * @package Accounting_Calculator
 */

/* Załadowanie czcionki Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

.acc-dark-theme {
    background-color: transparent !important;
}
.acc-header h2 {
    color: white;
}
.acc-package-price-value {
    color: white !important;
		font-size: 30px !important;
		line-height: 30px !important
}
.acc-btn-order {
    background-color: red !important;
    border-radius: 0px !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    letter-spacing: 2.2px !important;
    width: 100%;
}

.acc-package-header {
    font-size: 18px !important;
    line-height: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.72px !important;
}

.acc-check-icon {
    width: 24px;
    height: 24px;
    background-image: url('/wp-content/uploads/2025/05/check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
		background-color: transparent !important;
}

/* Główny kontener kalkulatora */
.accounting-calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
    padding: 20px;
    box-sizing: border-box;
    background: transparent !important;
}

/* Motyw ciemny */
.acc-dark-theme {
    color: #fff;
    background: transparent !important;
    border-radius: 0;
}

/* Motyw jasny */
.acc-light-theme {
    color: #333;
    background: transparent !important;
    border-radius: 0;
}

/* Nagłówek i opis */
.acc-header {
    text-align: center;
    margin-bottom: 30px;
}

.acc-header h2 {
    font-size: 30px;
    line-height: 45px;
    font-weight: 700;
    letter-spacing: 0.72px;
    margin-bottom: 10px;
    color: #fff !important; /* Wymuszenie białego koloru */
}

.acc-header p {
    font-size: 21px;
    line-height: 31.5px;
    font-weight: 400;
    letter-spacing: 0.72px;
    margin-bottom: 20px;
    color: #fff;
}

.acc-highlight {
    color: #f7a400;
    font-weight: bold;
    font-size: 30px;
    line-height: 45px;
}

/* Przełącznik typu działalności */
.acc-business-type-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.acc-business-type-label {
    margin: 0 15px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.acc-dark-theme .acc-business-type-label {
    color: #777;
}

.acc-light-theme .acc-business-type-label {
    color: #555;
}

.acc-business-type-label.active {
    color: #fff !important;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #f7a400;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* Przełącznik typu toggle */
.acc-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.acc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.acc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    border: 2px solid #f7a400;
    transition: .4s;
}

.acc-light-theme .acc-slider {
    background-color: #ddd;
}

.acc-slider.round {
    border-radius: 34px;
}

.acc-toggle-circle {
    position: absolute;
    content: '';
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 2px;
    background-color: #f7a400;
    transition: .4s;
    border-radius: 50%;
}

/* Animacje przełącznika */
@keyframes moveToggle {
    0% { left: 4px; }
    100% { left: 32px; }
}

@keyframes moveToggleBack {
    0% { left: 32px; }
    100% { left: 4px; }
}

.acc-toggle-circle.move-right {
    animation: moveToggle 0.3s forwards;
}

.acc-toggle-circle.move-left {
    animation: moveToggleBack 0.3s forwards;
}

/* Suwaki */
#acc-accounting-sliders {
    width: 90%;
    margin: 0 auto 30px;
}

.acc-item-row {
    margin-bottom: 20px;
}

.acc-item-row label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
}

.acc-dark-theme .acc-item-row label {
    color: #999;
}

.acc-light-theme .acc-item-row label {
    color: #555;
}

.acc-value {
    font-weight: bold;
}

.acc-tooltip-price {
    display: none;
}

.acc-slider-accounting {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border-radius: 5px;
}

.acc-dark-theme .acc-slider-accounting {
    background: #666;
}

.acc-light-theme .acc-slider-accounting {
    background: #ccc;
}

.acc-slider-accounting::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f7a400;
    cursor: pointer;
}

.acc-slider-accounting::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f7a400;
    cursor: pointer;
}

/* Opcje zaawansowane */
.acc-options {
    text-align: right;
    margin-top: 10px;
}

.acc-clickme {
    color: #f7a400;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}

.acc-advanced-pricing {
    display: none;
    margin-top: 20px;
}

/* Radio buttony */
.acc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.acc-language-service label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.acc-custom-radio {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #f7a400;
    margin-right: 10px;
    position: relative;
}

.acc-radio-inner {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    display: block;
}

.acc-language-service-radio {
    position: absolute;
    opacity: 0;
}

/* Stan zaznaczenia wynika z samego radia, więc domyślny „polski” jest widoczny od razu po załadowaniu. */
.acc-custom-radio {
    flex-shrink: 0;
    transition: box-shadow 0.2s;
}

.acc-radio-inner {
    transition: background-color 0.2s;
}

.acc-language-service label:has(.acc-language-service-radio:checked) .acc-radio-inner {
    background-color: #f7a400;
}

.acc-dark-theme .acc-language-service label:has(.acc-language-service-radio:checked) {
    color: #fff;
}

.acc-light-theme .acc-language-service label:has(.acc-language-service-radio:checked) {
    color: #000;
}

.acc-language-service label:hover .acc-custom-radio,
.acc-language-service label:has(.acc-language-service-radio:focus-visible) .acc-custom-radio {
    box-shadow: 0 0 0 4px rgba(247, 164, 0, 0.25);
}

/* Box z wyceną */
.acc-package {
    background-color: #000;
    border: 1px solid #f7a400;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 30px;
}

.acc-light-theme .acc-package {
    background-color: #fff;
    border: 1px solid #f7a400;
}

.acc-package-header {
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    letter-spacing: normal;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.acc-dark-theme .acc-package-header {
    color: #fff;
}

.acc-light-theme .acc-package-header {
    color: #333;
}

.acc-package-header .acc-space {
    color: #fff;
}

.acc-package-header .acc-amp {
    color: #f7a400;
}

.acc-package-price {
    text-align: center;
    margin-bottom: 30px;
}

.acc-price-wrapper {
    display: inline-flex;
    align-items: baseline;
}

.acc-price-from {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0.72px;
    color: #fff;
    margin-right: 5px;
}

.acc-package-price-value {
    font-size: 30px;
    line-height: 30px;
    font-weight: 700;
    color: #fff;
}

.acc-virtual-office-price {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0.72px;
}

.acc-dark-theme .acc-virtual-office-price {
    color: #fff;
}

.acc-light-theme .acc-virtual-office-price {
    color: #333;
}

/* Przycisk CTA */
.acc-cta-button {
    text-align: center;
    margin-bottom: 30px;
}

.acc-btn-order {
    display: inline-block;
    background-color: #FF0000;
    color: #fff !important;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2.2px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

/* Lista cech */
.acc-package-description {
    text-align: left;
    font-family: 'Open Sans', sans-serif;
}

.acc-package-description .acc-item-row {
    display: flex;
    margin-bottom: 20px;
}

.acc-item-icon {
    flex: 0 0 30px;
    margin-right: 15px;
}

.acc-check-icon {
    width: 24px;
    height: 24px;
    background-image: url('/wp-content/uploads/2025/05/check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-item-title {
    flex: 1;
}

.acc-dark-theme .acc-item-title {
    color: #fff;
}

.acc-light-theme .acc-item-title {
    color: #333;
}

.acc-item-title p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: 0.72px;
}

.acc-feature-title {
    font-weight: bold;
}

/* Tekst informacyjny na dole */
.acc-promotion-info {
    text-align: center;
    font-size: 12px;
}

.acc-dark-theme .acc-promotion-info {
    color: #ccc;
}

.acc-light-theme .acc-promotion-info {
    color: #666;
}

/* Usunięcie ciemnego tła za kalkulatorem */
.elementor-widget-accounting_calculator {
    background: transparent !important;
}

.elementor-widget-container {
    background: transparent !important;
}

.elementor-accounting-calculator-preview {
    background: transparent !important;
}

/* Responsywność */
@media (max-width: 768px) {
    .accounting-calculator-wrapper {
        padding: 10px;
    }
    
    .acc-header h2 {
        font-size: 24px;
        line-height: 36px;
    }
    
    .acc-header p {
        font-size: 18px;
        line-height: 27px;
    }
    
    .acc-highlight {
        font-size: 24px;
        line-height: 36px;
    }
    
    .acc-package-header {
        font-size: 16px;
        line-height: 16px;
    }
    
    .acc-package-price-value {
        font-size: 28px;
        line-height: 28px;
    }
    
    .acc-btn-order {
        padding: 12px 15px;
    }
    
    #acc-accounting-sliders {
        width: 100%;
    }
    
    .acc-row {
        flex-direction: column;
    }
    
    .acc-language-service.right {
        margin-top: 10px;
    }
	.mobile-none{
		display: none;
	}
}