.dac-wrap,
.dac-wrap *,
.dac-wrap *::before,
.dac-wrap *::after {
    box-sizing: border-box;
}

.dac-wrap {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
    color: #333;
}

.dac-wrap .dac-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px;
    background: #F7F8F9;
    border-radius: 16px;
}

.dac-wrap .dac-premium-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.dac-wrap .dac-textarea-wrapper {
    position: relative;
    width: 100%;
}

.dac-wrap textarea {
    width: 100%;
    height: 280px;
    padding: 18px;
    margin: 0 0 8px;
    border-radius: 16px;
    font-size: 0.95em;
    font-family: inherit;
    resize: none;
    background: #fff;
    box-shadow: #cff0ff 0px 10px 14px -6px, inset 0 0 0 1px #e5f3fb;
    border: none;
    outline: none;
    color: #333;
    line-height: 1.5;
}

.dac-wrap textarea:focus {
    box-shadow: #cff0ff 0px 12px 18px -6px, inset 0 0 0 2px #1089D3;
}

.dac-wrap textarea::placeholder {
    color: #aab7c4;
}

.dac-wrap .url-counter {
    position: absolute;
    right: 18px;
    bottom: 18px;
    font-size: 0.8rem;
    color: #999;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 8px;
    border-radius: 10px;
    pointer-events: none;
}

.dac-wrap .counter1 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    font-size: 0.85em;
    color: #1089D3;
    font-weight: 600;
    margin: 0 0 16px;
}

.dac-wrap #dac-turnstile-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 14px 0 4px;
    min-height: 65px;
}

.dac-wrap #dac-turnstile-container .cf-turnstile iframe {
    display: block;
}

.dac-wrap #domain-check-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 18px 0 10px;
}

.dac-wrap button {
    padding: 12px 32px;
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.95em;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 4px 14px rgba(16, 137, 211, 0.25);
    font-family: inherit;
}

.dac-wrap button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 137, 211, 0.35);
}

.dac-wrap button:active:not(:disabled) {
    transform: translateY(0);
}

.dac-wrap button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dac-wrap .error {
    color: #d93025;
    font-size: 0.875rem;
    margin-top: 10px;
    display: none;
    text-align: center;
    padding: 10px;
    background: #fdecea;
    border-radius: 8px;
    border-left: 4px solid #d93025;
}

.dac-wrap #dac-loader {
    margin-top: 16px;
    text-align: center;
    display: none;
    width: 100%;
}

.dac-wrap .loader-bar {
    width: 100%;
    height: 6px;
    background-color: #e8f3fb;
    border-radius: 3px;
    overflow: hidden;
}

.dac-wrap .loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #1089D3 0%, #12B1D1 100%);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.dac-wrap .loader-text {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #1089D3;
    font-weight: 600;
}

.dac-wrap .loader-complete {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 600;
    display: none;
}

.dac-wrap .toggle-switch-container {
    display: none;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
}

.dac-wrap .toggle-switch-container.is-visible {
    display: flex;
}

.dac-wrap .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.dac-wrap .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dac-wrap .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.dac-wrap .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dac-wrap input:checked + .slider {
    background-color: #28a745;
}

.dac-wrap input:checked + .slider:before {
    transform: translateX(22px);
}

.dac-wrap .toggle-label {
    margin-right: 10px;
    font-size: 0.85em;
    color: #555;
    font-weight: 500;
}

.dac-wrap .table-container {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    display: none;
}

.dac-wrap .table-container.is-visible {
    display: block;
}

.dac-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.85em;
    background: #fff;
}

.dac-wrap th,
.dac-wrap td {
    padding: 12px 10px;
    overflow-wrap: break-word;
    text-align: left;
    border-bottom: 1px solid #f0f3f7;
}

.dac-wrap th {
    background-color: #f7fbfd;
    color: #1089D3;
    font-weight: 600;
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
}

.dac-wrap td {
    color: #444;
    vertical-align: middle;
}

.dac-wrap tbody tr:hover {
    background-color: #f9fcff;
}

.dac-wrap th:first-child,
.dac-wrap td:first-child {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    text-align: center;
    color: #888;
    font-weight: 600;
}

.dac-wrap .duplicate-ip {
    color: #d93025;
    font-weight: 600;
}

.dac-wrap .download-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.dac-wrap .download-button {
    background: linear-gradient(45deg, #28a745 0%, #34c759 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 22px;
    cursor: pointer;
    font-size: 0.88em;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.dac-wrap .download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(40, 167, 69, 0.35);
}

.dac-wrap .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
}

.dac-wrap .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 24px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    z-index: 99999;
    text-align: center;
    min-width: 280px;
    max-width: 90%;
}

.dac-wrap .popup p {
    margin: 0 0 14px;
    color: #444;
    font-size: 0.95em;
}

.dac-wrap .popup button {
    padding: 8px 24px;
    background: #1089D3;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 10px rgba(16, 137, 211, 0.25);
}

.dac-wrap .dac-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.dac-wrap .dac-premium-badge {
    display: inline-block;
    background: linear-gradient(45deg, #28a745 0%, #34c759 100%);
    color: #fff;
    font-size: 0.78em;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .dac-wrap .dac-container {
        padding: 24px;
    }
    .dac-wrap textarea {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .dac-wrap {
        padding: 10px 0;
    }
    .dac-wrap .dac-container {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .dac-wrap textarea {
        font-size: 0.9rem;
        height: 240px;
        padding: 14px;
    }
    .dac-wrap button {
        font-size: 0.9rem;
        padding: 10px 24px;
    }
    .dac-wrap th,
    .dac-wrap td {
        font-size: 0.78em;
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .dac-wrap .dac-container {
        padding: 16px 12px;
    }
    .dac-wrap textarea {
        font-size: 0.85rem;
        height: 220px;
    }
    .dac-wrap button {
        font-size: 0.85rem;
        padding: 10px 22px;
    }
    .dac-wrap th,
    .dac-wrap td {
        font-size: 0.72em;
    }
}
