* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    color: #ccd6f6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 2px solid #233554;
}

header h1 {
    color: #64ffda;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #8892b0;
    font-size: 1.1em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #112240;
    border: 1px solid #233554;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #64ffda;
    margin-bottom: 10px;
}

.stat-label {
    color: #8892b0;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section {
    margin-bottom: 40px;
    background: #112240;
    border: 1px solid #233554;
    border-radius: 12px;
    padding: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section h2 {
    color: #64ffda;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.target-card {
    background: #0a192f;
    border: 1px solid #233554;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.target-card:hover {
    border-color: #64ffda;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.2);
}

.target-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.target-header h3 {
    color: #ccd6f6;
    font-size: 1.3em;
}

.target-domain {
    color: #64ffda;
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.target-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #233554;
    border-bottom: 1px solid #233554;
}

.mini-stat {
    text-align: center;
}

.mini-number {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: #64ffda;
}

.mini-label {
    display: block;
    font-size: 0.75em;
    color: #8892b0;
    margin-top: 5px;
}

.target-footer {
    color: #8892b0;
    font-size: 0.85em;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.status-new {
    background: #233554;
    color: #8892b0;
}

.status-scanning {
    background: #ffd60a;
    color: #0a192f;
}

.status-completed {
    background: #64ffda;
    color: #0a192f;
}

.status-error {
    background: #ff5555;
    color: #fff;
}

.status-pending {
    background: #8892b0;
    color: #0a192f;
}

.status-running {
    background: #ffd60a;
    color: #0a192f;
}

.severity-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
}

.severity-critical {
    background: #d62828;
    color: #fff;
}

.severity-high {
    background: #f77f00;
    color: #fff;
}

.severity-medium {
    background: #fcbf49;
    color: #0a192f;
}

.severity-low {
    background: #8892b0;
    color: #0a192f;
}

.vuln-critical {
    color: #d62828;
}

.vuln-high {
    color: #f77f00;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

thead {
    background: #0a192f;
}

th {
    padding: 15px;
    text-align: left;
    color: #64ffda;
    font-weight: 600;
    border-bottom: 2px solid #233554;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #233554;
}

tr:hover {
    background: #0a192f;
}

code {
    background: #0a192f;
    padding: 3px 8px;
    border-radius: 4px;
    color: #64ffda;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.btn-primary {
    background: #64ffda;
    color: #0a192f;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95em;
}

.btn-primary:hover {
    background: #52d4c2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
    background: #233554;
    color: #ccd6f6;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #2d4a6e;
}

.form-card {
    background: #0a192f;
    border: 1px solid #233554;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.form-card h3 {
    color: #64ffda;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #112240;
    border: 1px solid #233554;
    border-radius: 6px;
    color: #ccd6f6;
    font-size: 1em;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #64ffda;
}

textarea {
    resize: vertical;
    min-height: 80px;
}
