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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f23;
    color: #e0e0e0;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.container.wide {
    max-width: 900px;
}

h1 {
    text-align: center;
    color: #00d4ff;
    margin-bottom: 8px;
    font-size: 1.8em;
}

.subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.card {
    background: #1a1a2e;
    border: 1px solid #2a2a4a;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.card h2 {
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.card.danger {
    border-color: #ff4444;
}

.card.danger h2 {
    color: #ff4444;
}

.card.success {
    border-color: #44ff44;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #aaa;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: #0f0f23;
    border: 1px solid #2a2a4a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1em;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #00d4ff;
}

.form-group input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}

button:hover {
    opacity: 0.85;
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-primary {
    background: #00d4ff;
    color: #0f0f23;
}

.btn-danger {
    background: #ff4444;
    color: #fff;
}

.btn-secondary {
    background: #2a2a4a;
    color: #e0e0e0;
}

.btn-success {
    background: #44bb44;
    color: #fff;
}

.link {
    text-align: center;
    margin-top: 16px;
}

.link a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9em;
}

.link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9em;
    display: none;
}

.alert.error {
    background: rgba(255, 68, 68, 0.15);
    border: 1px solid #ff4444;
    color: #ff6666;
}

.alert.success {
    background: rgba(68, 255, 68, 0.15);
    border: 1px solid #44ff44;
    color: #66ff66;
}

.alert.info {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid #00d4ff;
    color: #00d4ff;
}

.user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a2e;
    padding: 16px 24px;
    border-bottom: 1px solid #2a2a4a;
}

.user-bar .user-info {
    color: #00d4ff;
    font-weight: 600;
}

.user-bar a {
    color: #888;
    text-decoration: none;
    font-size: 0.9em;
}

.user-bar a:hover {
    color: #ff4444;
}

.endpoint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.endpoint-card {
    background: #0f0f23;
    border: 1px solid #2a2a4a;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.1s;
}

.endpoint-card:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.endpoint-card.vulnerable {
    border-color: #ff4444;
}

.endpoint-card .method {
    display: inline-block;
    background: #44bb44;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    margin-bottom: 8px;
}

.endpoint-card .path {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #e0e0e0;
    word-break: break-all;
}

.endpoint-card .desc {
    color: #888;
    font-size: 0.8em;
    margin-top: 6px;
}

.endpoint-card .vuln-badge {
    display: inline-block;
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 700;
    margin-top: 8px;
}

.response-box {
    background: #0a0a1a;
    border: 1px solid #2a2a4a;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
    background: #2a2a4a;
    color: #888;
    transition: all 0.3s;
}

.step.active {
    background: #00d4ff;
    color: #0f0f23;
}

.step.done {
    background: #44bb44;
    color: #fff;
}

.step-connector {
    width: 30px;
    height: 2px;
    background: #2a2a4a;
    align-self: center;
}

.hidden {
    display: none !important;
}

.accounts-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.accounts-table th,
.accounts-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #2a2a4a;
}

.accounts-table th {
    color: #888;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accounts-table td {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
}
