/* Hostider Premium Webmaster & Ağ Araçları Paylaşılan CSS */

/* Smooth Transitions & Base Customizations */
.tool-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden;
}
.tool-card:hover {
    transform: translateY(-6px) !important;
    border-color: #2563eb !important;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.06), 0 0 20px rgba(37, 99, 235, 0.04) !important;
}
.hstdr-dark .tool-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1) !important;
}

/* Category Themes on Cards */
.tool-card[data-category="domain"] {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, #ffffff 100%) !important;
    border-color: rgba(37, 99, 235, 0.1) !important;
}
.hstdr-dark .tool-card[data-category="domain"] {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, #0f172a 100%) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
}
.tool-card[data-category="domain"]:hover {
    border-color: #2563eb !important;
}
.tool-card[data-category="domain"] .tool-icon {
    background-color: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
}
.hstdr-dark .tool-card[data-category="domain"] .tool-icon {
    background-color: rgba(37, 99, 235, 0.15) !important;
    color: #60a5fa !important;
}

.tool-card[data-category="network"] {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.02) 0%, #ffffff 100%) !important;
    border-color: rgba(147, 51, 234, 0.1) !important;
}
.hstdr-dark .tool-card[data-category="network"] {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.06) 0%, #0f172a 100%) !important;
    border-color: rgba(147, 51, 234, 0.15) !important;
}
.tool-card[data-category="network"]:hover {
    border-color: #9333ea !important;
}
.tool-card[data-category="network"] .tool-icon {
    background-color: rgba(147, 51, 234, 0.08) !important;
    color: #9333ea !important;
}
.hstdr-dark .tool-card[data-category="network"] .tool-icon {
    background-color: rgba(147, 51, 234, 0.15) !important;
    color: #c084fc !important;
}

.tool-card[data-category="ipdns"] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, #ffffff 100%) !important;
    border-color: rgba(16, 185, 129, 0.1) !important;
}
.hstdr-dark .tool-card[data-category="ipdns"] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, #0f172a 100%) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
}
.tool-card[data-category="ipdns"]:hover {
    border-color: #10b981 !important;
}
.tool-card[data-category="ipdns"] .tool-icon {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
}
.hstdr-dark .tool-card[data-category="ipdns"] .tool-icon {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

.tool-card[data-category="developer"] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.02) 0%, #ffffff 100%) !important;
    border-color: rgba(245, 158, 11, 0.1) !important;
}
.hstdr-dark .tool-card[data-category="developer"] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, #0f172a 100%) !important;
    border-color: rgba(245, 158, 11, 0.15) !important;
}
.tool-card[data-category="developer"]:hover {
    border-color: #d97706 !important;
}
.tool-card[data-category="developer"] .tool-icon {
    background-color: rgba(245, 158, 11, 0.08) !important;
    color: #d97706 !important;
}
.hstdr-dark .tool-card[data-category="developer"] .tool-icon {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
}

/* Category Badge Styling */
.tool-category-badge {
    font-size: 8.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    text-transform: uppercase;
    display: inline-block;
}

.tool-card[data-category="domain"] .tool-category-badge {
    background-color: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
}
.hstdr-dark .tool-card[data-category="domain"] .tool-category-badge {
    background-color: rgba(37, 99, 235, 0.15) !important;
    color: #60a5fa !important;
}

.tool-card[data-category="network"] .tool-category-badge {
    background-color: rgba(147, 51, 234, 0.08) !important;
    color: #9333ea !important;
}
.hstdr-dark .tool-card[data-category="network"] .tool-category-badge {
    background-color: rgba(147, 51, 234, 0.15) !important;
    color: #c084fc !important;
}

.tool-card[data-category="ipdns"] .tool-category-badge {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
}
.hstdr-dark .tool-card[data-category="ipdns"] .tool-category-badge {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

.tool-card[data-category="developer"] .tool-category-badge {
    background-color: rgba(245, 158, 11, 0.08) !important;
    color: #d97706 !important;
}
.hstdr-dark .tool-card[data-category="developer"] .tool-category-badge {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
}

/* Glassmorphic forms and Diagnostic Output Areas */
.glass-panel {
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
}
.hstdr-dark .glass-panel {
    background-color: #0f172a;
    border: 1px solid rgba(30, 41, 59, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.tool-input-group input, .tool-input-group select {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}
.hstdr-dark .tool-input-group input, .hstdr-dark .tool-input-group select {
    background-color: #070d19;
    border: 1px solid #1e293b;
}
.tool-input-group input:focus, .tool-input-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background-color: #ffffff;
}
.hstdr-dark .tool-input-group input:focus, .hstdr-dark .tool-input-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background-color: #070d19;
}

/* Diagnostics Output styling */
.diagnostic-pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    background-color: #020617 !important;
    color: #e2e8f0 !important;
    border: 1px solid #1e293b !important;
    border-radius: 0.75rem !important;
    overflow-x: auto;
    padding: 1.25rem !important;
}

/* Blur load indicator */
.scanlines-bg {
    position: relative;
    overflow: hidden;
}
.scanlines-bg::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
}

/* Pulse indicator animations */
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #3b82f6;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 4px;
}

/* Custom Table for structured records */
.dns-table-wrap {
    overflow-x: auto;
}
.dns-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.dns-table th {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
}
.hstdr-dark .dns-table th {
    border-bottom: 2px solid rgba(30, 41, 59, 0.8);
}
.dns-table td {
    padding: 0.75rem 1rem;
    font-size: 13px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.hstdr-dark .dns-table td {
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
.dns-table tr:last-child td {
    border-bottom: none;
}

/* Port Check specific classes */
.port-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.port-open {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.port-closed {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Password strength configurations */
.strength-meter {
    height: 6px;
    border-radius: 999px;
    background-color: #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.hstdr-dark .strength-meter {
    background-color: #1e293b;
}
.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}
.strength-weak { background-color: #ef4444; width: 25%; }
.strength-fair { background-color: #f97316; width: 50%; }
.strength-good { background-color: #eab308; width: 75%; }
.strength-strong { background-color: #22c55e; width: 100%; }

/* Speed test timeline nodes */
.speed-timeline {
    position: relative;
    padding-left: 1.5rem;
}
.speed-timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-color: rgba(226, 232, 240, 0.8);
}
.hstdr-dark .speed-timeline::before {
    background-color: rgba(30, 41, 59, 0.8);
}
.timeline-node {
    position: relative;
    padding-bottom: 1.5rem;
}
.timeline-node:last-child {
    padding-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2563eb;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.hstdr-dark .timeline-dot {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Turnstile center element */
.turnstile-center-wrap {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0;
}
