/* Intigriti-style Hacker Theme CSS */

:root {
    --bg-color: #0b0f19;
    --text-color: #f1f5f9;
    --primary-color: #00ff66; /* Intigriti Green */
    --accent-color: #00cc52;
    --secondary-bg: #1e293b;
    --border-color: #334155;
    --error-color: #ff3366;
    --font-mono: 'Courier New', Courier, monospace;
    --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.logo {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.intigriti-green {
    color: var(--primary-color);
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

header p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-box {
    margin-bottom: 2rem;
}

form {
    display: flex;
    gap: 10px;
}

input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

button {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.3s;
}

button:hover {
    background: var(--accent-color);
}

.results {
    min-height: 150px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    margin-bottom: 2rem;
}

.search-term-highlight {
    color: var(--primary-color);
    word-break: break-all;
}

.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

/* Modal Styling */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid var(--primary-color);
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-content input[type="url"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
}

.danger-btn {
    background: var(--error-color);
    color: white;
}

.danger-btn:hover {
    background: #e6005c;
}

#reportStatus {
    margin-top: 10px;
    font-size: 0.9rem;
}
