/* ==================================================
   WP24 DOMAIN CHECK - TELJES VÉGLEGES CSS
   ================================================== */

/* --- 1. KERESŐ KAPSZULA (ALAP ÉS KONTRAST) --- */

@keyframes rotate-button {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.wp24-dc form > div,
.wp24-dc .dc-form > div {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 auto !important;
    border-radius: 60px !important;
    box-sizing: border-box !important;
    width: 95% !important;
    height: 56px !important;
    padding: 4px 4px 4px 18px !important;
    background-color: #1a2332 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(204, 243, 255, 0.15) !important;
}

/* Belső maszkoló sötét háttér */
.wp24-dc form > div::after,
.wp24-dc .dc-form > div::after {
    content: '' !important;
    position: absolute !important;
    inset: 2px !important;
    background-color: #1e293b !important;
    border-radius: 60px !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Körbeforgó fénycsík a kereten */
.wp24-dc form > div::before,
.wp24-dc .dc-form > div::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 300% !important;
    height: 300% !important;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 280deg,
        #ccf3ff 320deg,
        transparent 360deg
    ) !important;
    animation: rotate-button 3.2s linear infinite !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Belső elemek rétegrendje */
.wp24-dc form input[type="text"],
.wp24-dc form select,
.wp24-dc form input[type="submit"],
.wp24-dc form span.dot {
    position: relative !important;
    z-index: 3 !important;
}

/* Bemeneti mező */
.wp24-dc form input[type="text"],
.wp24-dc .dc-form input[type="text"] {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    padding: 0 4px !important;
    font-size: 15px !important;
    box-shadow: none !important;
    margin: 0 !important;
    float: none !important;
}

.wp24-dc form input[type="text"]::placeholder,
.wp24-dc .dc-form input[type="text"]::placeholder {
    color: #9aa4b2 !important;
    opacity: 1 !important;
}

.wp24-dc form span.dot,
.wp24-dc .dc-form span.dot {
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 0 2px !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    float: none !important;
}

.wp24-dc form select,
.wp24-dc .dc-form select {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 60px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    padding: 0 2px !important;
    font-size: 15px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin: 0 4px 0 0 !important;
    float: none !important;
}

.wp24-dc form select option,
.wp24-dc .dc-form select option {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.wp24-dc form input[type="submit"],
.wp24-dc .dc-form input[type="submit"] {
    flex: 0 0 auto !important;
    height: 46px !important;
    border-radius: 46px !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: none !important;
    padding: 0 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    margin: 0 !important;
    box-shadow: none !important;
    float: none !important;
}

.wp24-dc .dc-spinner,
.wp24-dc button#dc-spinner-1 {
    display: none !important;
}

/* --- 2. ASZTALI NÉZET MÓDOSÍTÁSAI (768PX FELETT) --- */

@media (min-width: 768px) {
    .wp24-dc form > div,
    .wp24-dc .dc-form > div {
        max-width: 750px !important;
        height: 66px !important;
        padding: 5px 5px 5px 24px !important;
    }

    .wp24-dc form input[type="text"],
    .wp24-dc .dc-form input[type="text"] {
        font-size: 18px !important;
    }

    .wp24-dc form input[type="submit"],
    .wp24-dc .dc-form input[type="submit"] {
        height: 54px !important;
        border-radius: 54px !important;
        padding: 0 32px !important;
        font-size: 16px !important;
    }

    .wp24-dc form select,
    .wp24-dc .dc-form select {
        font-size: 16px !important;
    }
}

/* --- 3. EREDMÉNYLISTA ÉS SZÖVEG SZÍNEK (SÖTÉT HÁTTÉRHEZ) --- */

.wp24-dc .table-cell,
.wp24-dc .table-cell span,
.wp24-dc .table-cell strong,
.wp24-dc .table-row {
    color: #ffffff !important;
}

.wp24-dc .free,
.wp24-dc [class*="free"] {
    color: #4caf50 !important;
    font-weight: 600 !important;
}

.wp24-dc .taken,
.wp24-dc [class*="taken"] {
    color: #f44336 !important;
    font-weight: 600 !important;
}

.wp24-dc .table-cell a {
    color: #64b5f6 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.wp24-dc .table-cell a:hover {
    color: #90caf9 !important;
}

.wp24-dc .table {
    display: table;
    width: 100%;
    margin-top: 15px;
}

.wp24-dc .table-row {
    display: table-row;
}

.wp24-dc .table-row br {
    display: none;
}

.wp24-dc .table-cell {
    display: table-cell;
    padding: 6px 4px;
    vertical-align: middle;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .wp24-dc .table {
        display: block;
    }

    .wp24-dc .table-row {
        display: block;
        clear: both;
        padding: 4px 0;
    }

    .wp24-dc .table-row br {
        display: block;
        clear: both;
    }

    .wp24-dc .table-cell {
        display: block;
        float: left;
        padding: 0 6px;
    }
}

.whois-info pre {
    margin: 0;
    max-height: 500px;
    white-space: pre-wrap;
    overflow: scroll;
}

.whois-info-inline pre {
    margin: 0;
    padding: 5px;
    background-color: #eee;
    border: 1px solid #ccc;
}