/* Estilos extraídos de whois/index.php */
/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #EDEDED;
    background-image: url('/assets/img/fundobolinhas.png');
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    min-height: 100vh;
}

.whois-card { text-align: left; }

.header-section {
    margin-bottom: 25px;
}

h1 {
    color: #005bb5;
    margin-bottom: 10px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 i { margin-right: 10px; color: #ffc107; }

.text-section p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.text-section .error {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.05rem;
}


/* Layout base (como no MeuIP) */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

.header { text-align: center; margin-bottom: 0; color: #2B2B2B; padding: 40px 0; }
.header h1 { font-size: 3rem; margin-bottom: 10px; animation: fadeInDown 1s ease-out; color: #282828; }
.ip-highlight { color: #07B551; margin: 0 .25em; }
.header p { font-size: 1.2rem; opacity: 0.9; animation: fadeInUp 1s ease-out 0.2s both; }

/* Estilo para a imagem SVG */
.svg-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
}

.svg-container svg { width: 100%; height: 100%; }

form { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; justify-content: center; }

#whoisForm { margin: 0; }

input[type="text"] {
    flex: 1 1 250px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus { border-color: #0070f3; outline: none; box-shadow: 0 0 5px rgba(0, 112, 243, 0.3); }

button, .copy-button {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    flex-shrink: 0;
}

button:hover { opacity: 0.95; }

.copy-button {
    background: #09E968;
    color: #2B2B2B;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(9, 233, 104, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.copy-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(9, 233, 104, 0.45); }
.copy-button:active { transform: translateY(0); }

.ip-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.result {
    margin-top: 20px;
    padding: 25px;
    background: #e9f5ff;
    border-radius: 8px;
    border: 1px solid #cce0ff;
    text-align: left;
    word-break: break-word;
}

.result-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.result-title i { margin-right: 10px; }

.whois-data { font-size: 0.95rem; color: #555; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }

.whois-data pre {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    overflow-x: auto;
}

.whois-data b { color: #333; }

.available .result-title { color: #1a7f37; }
.available .result-title i { color: #1a7f37; }

.registered .result-title { color: #b91c1c; }
.registered .result-title i { color: #b91c1c; }

.superdom-btn {
    display: inline-block;
    margin-top: 15px;
    background: #ffc107;
    color: #212529;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.superdom-btn i { margin-right: 8px; }
.superdom-btn:hover { background: #ffcd39; }

.loading { color: #0070f3; font-style: italic; font-size: 1rem; }
.error { color: #dc3545; font-weight: bold; font-size: 1rem; }

/* Footer (como no MeuIP) */
.footer { display: flex; justify-content: center; align-items: stretch; color: #2B2B2B; padding: 16px 20px; opacity: 0.9; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-badge { height: 28px; width: auto; }
.footer-left, .footer-right { display: flex; align-items: center; gap: 10px; }

/* Responsividade básica */
@media (max-width: 600px) {
    h1 { font-size: 1.6rem; }
    input[type="text"], button { font-size: 1rem; padding: 10px 15px; }
    form { flex-direction: column; gap: 15px; }
    button { width: 100%; }
    .svg-container { width: 100px; height: 100px; }
    .header { padding: 24px 0; }
}

/* Logo container e imagem (layout como no MeuIP) */
.logo-box { display: block; width: 416px; max-width: 100%; background: #ffffff; padding: 30px 0; border-radius: 0 0 36px 36px; box-shadow: 0 14px 28px rgba(0,0,0,0.10); border: 1px solid rgba(0,0,0,0.05); margin: 0 auto 24px auto; overflow: hidden; }
.logo-img { display: block; height: 72px; width: auto; margin: 0 auto; }

/* Animações (como no MeuIP) */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Seções informativas (como no MeuIP) */
.info-section { background: rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 28px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); animation: fadeInUp 1s ease-out 0.6s both; }
.info-section h2 { color: #2B2B2B; font-size: 2rem; margin: 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.info-card { background: #ffffff; padding: 22px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 10px 24px rgba(0,0,0,0.06); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.10); }
.info-card h3 { color: #2B2B2B; margin-bottom: 8px; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 i { color: #07B551; font-size: 1.25rem; }
.info-card p { color: #6c757d; line-height: 1.7; margin: 0; }


