/* Form Grupları */
.tools-form-group {
    margin-bottom: 20px;
}

.tools-form-group label {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
    color: #2e353b;
}

.tools-form-group .form-group-input {
    position: relative;
}

.tools-form-group .form-group-input-left-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 19px;
    font-weight: 400;
    color: #2e353b;
}

.tools-form-group .form-group-append {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.tools-form-group input.form-control {
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #a2aab2;
    height: 50px;
    font-size: 16px;
    padding: 0 20px;
}

.tools-form-group textarea.form-control {
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #a2aab2;
    min-height: 90px;
    font-size: 16px;
    padding: 10px 20px;
}

.tools-form-group input.form-control-placeholder::placeholder {
    color: #495057;
}

.tools-form-group input.form-control:focus,
.tools-form-group textarea.form-control:focus {
    border-color: #0E85FB !important;
}

.tools-form-group input.form-control.required,
.tools-form-group textarea.form-control.required {
    border-color: #dc3545;
}

.tools-form-group input[type="number"]::-webkit-outer-spin-button,
.tools-form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tools-form-group input[type="number"] {
    -moz-appearance: textfield;
}

.tools-form-group input.form-control.form-control-left-icon {
    padding-left: 40px;
}

.tools-form-group input.form-control.form-control-append {
    padding-right: 140px;
}

.tools-form-divider {
    height: 1px;
    background: #a2aab2;
    margin: 10px 0;
    opacity: 0.3;
}

.tools-form-group .ios-toggle {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 20px;
    margin-right: 8px;
}

.tools-form-group .ios-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tools-form-group .ios-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.tools-form-group .ios-toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.tools-form-group .ios-toggle input:checked + .ios-toggle-slider {
    background-color: #0E85FB;
}

.tools-form-group .ios-toggle input:checked + .ios-toggle-slider:before {
    transform: translateX(12px);
}

.tools-form-group .ios-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #2e353b;
    margin-bottom: 0;
}

.tools-form-group .ios-toggle-label:hover {
    color: #333;
}

.tools-form-group .ios-toggle-label-on,
.tools-form-group .ios-toggle-label-off {
    display: none;
}

.tools-form-group .ios-toggle-label-active {
    display: block;
}

.tools-form-group.tools-form-radio-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.tools-form-group.tools-form-radio-group-column {
    flex-direction: column;
    gap: 8px
}

.tools-form-group .custom-radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    color: #2e353b;
}

.tools-form-group .custom-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.tools-form-group .custom-radio-mark {
    height: 16px;
    width: 16px;
    background-color: #ffffff;
    border: 2px solid #a2aab2;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tools-form-group .custom-radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0E85FB;
}

.tools-form-group .custom-radio-label input:checked ~ .custom-radio-mark {
    border-color: #0E85FB;
}

.tools-form-group .custom-radio-label input:checked ~ .custom-radio-mark:after {
    display: block;
}

.tools-form-group .custom-radio-label:hover .custom-radio-mark {
    border-color: #0E85FB;
}

.tools-form-group .custom-radio-text {
    line-height: 1.4;
}

.tools-form-group .vat-rate-selector {
    margin-top: 10px;
}

.tools-form-group .vat-rate-options {
    display: flex;
    border: 1px solid #a2aab2;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.tools-form-group .vat-rate-option {
    flex: 1;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.tools-form-group .vat-rate-option.hide {
    display: none !important;
}

.tools-form-group .vat-rate-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tools-form-group .vat-rate-text {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #2e353b;
    background: #ffffff;
    border-left: 1px solid #a2aab2;
    transition: all 0.2s ease;
}

.tools-form-group .vat-rate-option:first-child .vat-rate-text {
    border-left: none;
}

.tools-form-group .vat-rate-option input:checked + .vat-rate-text,
.tools-form-group .vat-rate-option.custom-vat-rate-text {
    background: #f0f0f0;
    color: #0E85FB;
    font-weight: 500;
}

.tools-form-group .vat-rate-option:hover .vat-rate-text {
    background: #f8f9fa;
}

.tools-form-group .vat-rate-option.custom-vat-rate-text {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #a2aab2;
}

.tools-form-group .vat-rate-option.custom-vat-rate-option,
.tools-form-group .vat-rate-option.custom-vat-rate-text {
    min-width: 100px;
}

.tools-form-group .vat-rate-option.custom-vat-rate-text .form-group-input-left-icon {
    font-size: 14px;
}

.tools-form-group .vat-rate-option.custom-vat-rate-text input.form-control {
    background: transparent;
    border: 0;
}

.tools-form-group .vat-rate-option.custom-vat-rate-text input.form-control:focus {
    outline: none;
}

.tools-form-group .form-group-input-2 {
    display: inline-flex;
    align-items: center;
    background: #d3e9ff;
    border-radius: 5px;
    margin-top: 8px;
    padding: 0 10px;
    color: #006cd7;
    font-weight: 500;
    height: 38px;
    font-size: 14px
}

.tools-form-group .form-group-input-2 .form-control {
    color: #006cd7;
    margin-left: 5px;
    width: 30px;
    height: 25px;
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border: 0;
    background: #afd3f5;
    border-radius: 0;
}

.tools-form-group .form-group-input-2 .form-control::placeholder {
    color: #006cd7;
}

.tools-form-group .form-group-input-2 .control {
    margin-left: 8px;
}

.tools-form-alert {
    color: #dc3545;
    margin-bottom: 20px;
    font-size: 16px;
}

.tools-form-alert i {
    margin-right: 8px;
}

.tools-form-success {
    color: #188932;
    margin-bottom: 20px;
    font-size: 16px;
}

.tools-form-success i {
    margin-right: 8px;
}

.tools-form-message {
    color: #000;
    margin-bottom: 20px;
    font-size: 17px;
}

.tools-button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tools-button-group .btn {
    height: 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 0 20px;
    font-size: 17px
}

.tools-button-group .btn i {
    margin-right: 8px;
}

.tools-button-group .btn.btn-outline-secondary {
    background: #ffffff;
    color: #333;
    font-size: 16px
}

.tools-button-group .btn.btn-outline-secondary:hover,
.tools-button-group .btn.btn-outline-secondary:active {
    color: #000;
    background: #f0f0f0;
}

/* Hesaplama Araçları */
.tools-calculator-wrapper {
    margin-bottom: 50px;
}

.tools-calculator-wrapper .tools-calculator-inner {
    background: #F3F9FF;
    border: 1px solid #F4F4F4;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    max-width: 990px;
    margin: 0 auto;
}

.tools-calculator-wrapper .form-group-category {
    position: relative;
}

.tools-calculator-wrapper .form-group-category .category-list {
    position: absolute;
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #0e116f;
    z-index: 1;
    border-radius: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

.tools-calculator-wrapper .form-group-category .category-list.hide {
    display: none;
}

.tools-calculator-wrapper .form-group-category .category-list .category-item {
    cursor: pointer;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    display: none;
}

.tools-calculator-wrapper .form-group-category .category-list .category-item.active {
    display: block;
}

.tools-calculator-wrapper .form-group-category .category-list .category-item:hover {
    background: rgba(255, 255, 255, .2);
}

.tools-calculator-wrapper .form {
    flex: 1;
}

@media (max-width: 991px) {
    .tools-calculator-wrapper .tools-calculator-inner {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .tools-calculator-wrapper .form {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    }
}

.tools-calculator-wrapper .calculation-result {
    width: 380px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #F4F4F4;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tools-calculator-wrapper .calculation-result-header {
    background: #0E85FB;
    padding: 24px 20px;
    text-align: left;
    position: relative;
}

.tools-calculator-wrapper .calculation-result-header span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.tools-calculator-wrapper .calculation-details {
    padding: 20px;
    background: #ffffff;
    flex: 1
}

.tools-calculator-wrapper .calculation-alert-message {

}

.tools-calculator-wrapper .calculation-alert-message p  {
    font-size: 15px;
    font-weight: 400;
    color: #2e353b;
    margin-bottom: 20px
}

.tools-calculator-wrapper .calculation-alert-message p span {
    color: #0E85FB;
    font-weight: 500;
    cursor: pointer;
}

.tools-calculator-wrapper .calculation-section {
    margin-bottom: 20px;
}

.tools-calculator-wrapper .calculation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 -8px;
    padding: 12px 8px;
}

.tools-calculator-wrapper .calculation-row.calculation-row-sm {
    padding-top: 5px;
    padding-bottom: 5px;
}


.tools-calculator-wrapper .calculation-label {
    color: #2e353b;
    font-weight: 400;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    flex: 1;
}

.tools-calculator-wrapper .calculation-label span {
    color: #666c71;
    font-size: 13px;
}

.tools-calculator-wrapper .calculation-value {
    color: #2e353b;
    font-weight: 600;
    font-size: 15px;
    text-align: right;
    min-width: 80px;
}

.tools-calculator-wrapper .calculation-value.negative {
    color: #dc3545;
    font-weight: 600;
}

.tools-calculator-wrapper .calculation-divider {
    height: 1px;
    background: #a2aab2;
    margin: 10px 0;
    opacity: 0.3;
}

.tools-calculator-wrapper .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #a2aab2;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.tools-calculator-wrapper .info-icon:hover {
    background: #0E85FB;
    transform: scale(1.1);
}

.tools-calculator-wrapper .calculation-promotion {
    background: #F3F9FF;
    padding: 24px 20px;
    text-align: center;
    border-top: 1px solid #F4F4F4;
    position: relative;
    display: none;
}

.tools-calculator-wrapper .calculation-promotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0E85FB, transparent);
}

.tools-calculator-wrapper .promotion-text {
    margin-bottom: 20px;
}

.tools-calculator-wrapper .promotion-text p {
    margin: 0;
    color: #2e353b;
    font-size: 15px;
    line-height: 1.5;
}

.tools-calculator-wrapper .promotion-emphasis {
    font-weight: 700;
    font-style: italic;
    font-size: 16px;
    color: #0e116f;
    display: block;
    margin-top: 4px;
}

.tools-calculator-wrapper .promotion-button {
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: -0.3px;
    position: relative;
    overflow: hidden;
    display: block;
}

.tools-calculator-wrapper .promotion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.tools-calculator-wrapper .promotion-button:hover::before {
    left: 100%;
}

.tools-calculator-wrapper .promotion-button:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tools-calculator-wrapper .promotion-button:active {
    transform: translateY(0);
}

.tools-calculator-wrapper .calculation-row:hover {
    background: rgba(14, 133, 251, 0.04);
    transition: all 0.2s ease;
}

.tools-calculator-wrapper .calculation-result {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .tools-calculator-wrapper .calculation-result {
        width: 100%;
        max-width: 100%;
    }
    
    .tools-calculator-wrapper .calculation-result-header {
        padding: 20px 16px;
    }
    
    .tools-calculator-wrapper .calculation-result-header h3 {
        font-size: 18px;
    }
    
    .tools-calculator-wrapper .calculation-details {
        padding: 24px 16px 16px;
    }

    .tools-calculator-wrapper .calculation-section {
        margin-bottom: 0
    }

    .tools-calculator-wrapper .calculation-row {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .tools-calculator-wrapper .calculation-promotion {
        padding: 20px 16px;
    }
    
    .tools-calculator-wrapper .promotion-button {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Pazaryeri Linkleri Bölümü */
.tools-marketplace-links-section {
    border-radius: 12px;
    margin-bottom: 30px;
}

.tools-marketplace-links-section .grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.tools-marketplace-links-section .grid .marketplace-link {
    flex: auto;
    display: flex;
    align-items: center;
    padding: 10px 5px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tools-marketplace-links-section .grid .marketplace-link:hover {
    border-color: #0E85FB;
    box-shadow: 0 4px 12px rgba(14, 133, 251, 0.15);
    transform: translateY(-2px);
}

.tools-marketplace-links-section .grid .marketplace-link.active {
    border-color: #0E85FB;
    background: linear-gradient(135deg, #0E85FB 0%, #0066cc 100%);
    color: #ffffff;
}

.tools-marketplace-links-section .grid .marketplace-link.active .name {
    color: #ffffff;
}

.tools-marketplace-links-section .grid .icon {
    width: 40px;
    height: 40px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    flex-shrink: 0;
}

.tools-marketplace-links-section .grid .marketplace-link.active .icon {
    background: rgba(255, 255, 255, 0.2);
}

.tools-marketplace-links-section .grid .icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tools-marketplace-links-section .grid .marketplace-link-hepsiburada .icon img {
    background: #ffffff;
    border-radius: 50%;
}

.tools-marketplace-links-section .grid .text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tools-marketplace-links-section .grid .name {
    font-size: 15px;
    font-weight: 500;
    color: #2e353b;
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .tools-marketplace-links-section .grid {
        overflow-x: auto;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    
    .tools-marketplace-links-section .grid .marketplace-link {
        min-width: 160px;
        max-width: 160px;
    }
}

/* Google Search Results */
.tools-google-search-results {
    overflow-x: auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 50px;
    margin-top: 20px
}

.tools-google-search-results .box:first-child {
    width: 650px;
}

.tools-google-search-results .box:last-child {
    width: 370px;
}

.tools-google-search-results .box .box-header {
    font-size: 17px;
    font-weight: 500;
    color: #2e353b;
    margin-bottom: 10px;
}

.tools-google-search-results .desktop-result {
    font-family: Arial, sans-serif;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #cfd2d7;
    border-radius: 8px;
    width: 650px;
}

.tools-google-search-results .desktop-result .result-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
}

.tools-google-search-results .desktop-result .favicon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-google-search-results .desktop-result .favicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d2d2d2;
}

.tools-google-search-results .desktop-result .favicon-icon {
    width: 100%;
    height: 100%;
    background: #a4a4a4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    background: #ffffff;
    border: 1px solid #d2d2d2;
}

.tools-google-search-results .desktop-result .info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.tools-google-search-results .desktop-result .site-name {
    color: #202124;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    width: auto;
}

.tools-google-search-results .desktop-result .url {
    color: #70757a;
    font-size: 12px;
    line-height: 12px;
}

.tools-google-search-results .desktop-result .main-title {
    color: rgb(26, 13, 171);
    display: inline-block;
    line-height: 1.3;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    word-break: break-word;
    margin-bottom: 5px;
    margin-top: 5px
}

.tools-google-search-results .desktop-result .main-title:hover {
    text-decoration: underline;
}

.tools-google-search-results .desktop-result .description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.58;
    max-height: 3.16em;
    color: rgb(77, 81, 86);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

.tools-google-search-results .mobile-result {
    font-family: Helvetica Neue, Arial, sans-serif;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #cfd2d7;
    border-radius: 8px;
    width: 370px;
}

.tools-google-search-results .mobile-result .result-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
}

.tools-google-search-results .mobile-result .favicon {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-google-search-results .mobile-result .favicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d2d2d2;
}

.tools-google-search-results .mobile-result .favicon-icon {
    width: 100%;
    height: 100%;
    background: #a4a4a4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    background: #ffffff;
    border: 1px solid #d2d2d2;
}

.tools-google-search-results .mobile-result .info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.tools-google-search-results .mobile-result .site-name {
    color: #202124;
    font-size: 14px;
    display: block;
    line-height: 20px;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    width: auto;
}

.tools-google-search-results .mobile-result .url {
    color: #70757a;
    font-size: 12px;
    line-height: 12px;
}

.tools-google-search-results .mobile-result .main-title {
    color: #1558d6;
    display: inline-block;
    line-height: 26px;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    word-break: break-word;
    margin-bottom: 5px;
    margin-top: 5px
}

.tools-google-search-results .mobile-result .main-title:hover {
    text-decoration: underline;
}

.tools-google-search-results .mobile-result .description {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    max-height: 60px;
    word-break: break-word;
    color: rgb(77, 81, 86);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 1210px) {
    .tools-google-search-results {
        flex-direction: column;
    }
}