/* ADMIN PLACEHOLDER */
.hu-admin-placeholder {
    padding: 20px;
    border: 2px dashed #ccc;
    background: #f9f9f9;
    text-align: center;
    margin: 1.5em 0;
}

.hu-admin-placeholder strong {
    font-size: 18px;
    color: #1d2327;
    display: block;
    margin-bottom: 10px;
}

.hu-admin-placeholder small {
    color: #666;
    font-size: 12px;
}

/* INACTIVE MODULE */
.hu-inactive {
    padding: 2rem;
    text-align: center;
    background-color: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    color: #6b7280;
    margin: 2em 0;
}

/* ERROR MESSAGE */
.hu-error {
    display: block !important;
    margin: 1.5em 0 !important;
    padding: 16px !important;
    background: #fcf0f1 !important;
    border: 1px solid #d63638 !important;
    color: #d63638 !important;
    border-radius: 8px !important;
}


.hu-module-wrapper {
    width: 100%;
    display: block;
    margin: 2em 0;
    position: relative;
}


.hu-module-wrapper .hu-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #8c8f94;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
}

.hu-module-wrapper .hu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}


.hu-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 12px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin: 25px auto 0;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 6px 18px rgba(102,126,234,0.25);
    transition: all 0.3s ease;
}

.hu-share-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(102,126,234,0.4);
}

.hu-share-button:disabled,
.hu-share-button.hu-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: linear-gradient(135deg, #94a3b8, #64748b);
}


.hu-reset-button,
.hu-clear-button,
.hu-temizle,
button[type="reset"] {
    background: #6b7280 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.hu-reset-button:hover,
.hu-clear-button:hover,
.hu-temizle:hover,
button[type="reset"]:hover {
    background: #4b5563 !important;
}


.hu-result-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.hu-info-message {
    background: #d1ecf1;
    color: #0c5460;
    padding: 14px 20px;
    border-radius: 10px;
    margin: 18px 0;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid #0c5460;
    animation: slideIn 0.3s ease;
}

/* ====================== ADSENSE SAGA KAYMA DUZELTMESI (AGRESIF) ====================== */
.hu-module-ad-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 25px auto 15px !important;
    padding: 0 10px !important;
    display: block !important;
    text-align: center !important;
    overflow: hidden !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.hu-module-ad-slot {
    width: 100% !important;
    max-width: 970px !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.hu-module-ad-slot .adsbygoogle,
.hu-module-ad-wrap .adsbygoogle,
.hu-module-ad-wrap ins.adsbygoogle,
.hu-module-ad-slot ins.adsbygoogle {
    display: block !important;
    margin: 0 auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 90px !important;
    float: none !important;
    clear: both !important;
    text-align: center !important;
    position: relative !important;
    left: 0 !important;
}

.hu-module-ad-wrap + .custom-share-box {
    margin-top: 0;
}

/* Sosyal medya paylaşım kutusu */
.custom-share-box {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 8px 0;
    border-radius: 999px;
    background: transparent;
    border: none;
}

.custom-share-box .custom-share-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.custom-share-box .custom-share-links .custom-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.custom-share-box .custom-share-links .custom-share-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.custom-share-box .custom-share-links .custom-share-icon i {
    font-size: 24px !important;
    line-height: 1 !important;
}

.custom-share-box .custom-share-links .custom-share-comment {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    color: #ffffff !important;
    background-color: #f97316;
    border: 1px solid #ea580c;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.custom-share-box .custom-share-links .custom-share-icon:hover,
.custom-share-box .custom-share-links .custom-share-comment:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.custom-share-box .custom-share-links .custom-share-comment:hover {
    background-color: #f97316;
    border-color: #ea580c;
}

.custom-share-whatsapp i { color: #22c55e; }
.custom-share-telegram i { color: #0ea5e9; }
.custom-share-x i { color: #020617; }
.custom-share-facebook i { color: #2563eb; }
.custom-share-linkedin i { color: #0a66c2; }

@media (max-width: 768px) {
    .hu-module-ad-wrap {
        margin: 20px 0 12px !important;
        padding: 0 !important;
        text-align: left !important;
    }
    
    .hu-module-ad-slot {
        margin: 0 !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .hu-module-ad-slot .adsbygoogle,
    .hu-module-ad-wrap .adsbygoogle,
    .hu-module-ad-wrap ins.adsbygoogle,
    .hu-module-ad-slot ins.adsbygoogle {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
        min-height: 70px !important;
    }

    .custom-share-box .custom-share-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.hu-info-message.hu-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #155724;
}

.hu-info-message.hu-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #721c24;
}


@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
    .hu-button {
        width: 100%;
        font-size: 14px;
        padding: 10px 18px;
    }

    .hu-share-button {
        max-width: 100%;
        border-radius: 10px;
        font-size: 14px;
    }
}


@media print {
    .hu-module-wrapper {
        break-inside: avoid;
    }
}


@media (prefers-color-scheme: dark) {
    .hu-info-message {
        background: #1e3a5f;
        color: #dbeafe;
        border-left-color: #3b82f6;
    }

    .hu-reset-button {
        background: #374151 !important;
    }
}
