body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0f14;
    color: #e6f1ff;
}

a:link {
    color: #00bfff; /* unvisited link */
}

a:visited {
    color: #7a7a7a; /* visited link */
}

a:hover {
    color: #ffcc00;       /* when mouse is over link */
    text-decoration: underline;
}

a:active {
    color: #ff3300; /* when clicking */
}

header {
    position: relative;
    width:100vw;
    height: 14vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url("../images/topper1920.png");
    background-repeat: no-repeat;
    background-size: cover;   /* stretches to fill while keeping aspect ratio */
    background-position: center;
}

header h1 {
    font-size: 42px;
    letter-spacing: 3px;
    color:rgba(255,255,255,0)
}



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

.card {
    background: #121a26;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #1f2a3a;
}


.about-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    color: #eaeaea;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.about-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}

.about-section h2 {
    margin-bottom: 10px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 6px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 6px;
    border-radius: 6px;
    font-size: 12px;
}

.green { background: #1f6f3f; }
.yellow { background: #8a6d1d; }
.red { background: #7a2a2a; }

ul {
    padding-left: 20px;
}

/* ===== NAVBAR BASE ===== */

/* ===== NAVBAR BASE ===== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #0f1621;
    border-bottom: 1px solid #1f2a3a;
    position: relative;
}

.nav-logo a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

/* ===== DESKTOP LINKS ===== */

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #9ecbff;
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover {
    color: #fff;
}

/* ===== HAMBURGER ===== */

.nav-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ===== MOBILE ===== */

@media (max-width: 640px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #0f1621;
        border-bottom: 1px solid #1f2a3a;
        z-index: 999;
    }

    .nav-links a {
        padding: 12px 20px;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    header {
    position: relative;
    width:100vw;
    height: 26vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url("../images/topper1000.png");
    background-repeat: no-repeat;
    background-size: cover;   /* stretches to fill while keeping aspect ratio */
    background-position: center;
}
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.status-table td {
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
}

.status-table td:first-child {
    width: 28px;
    font-weight: bold;
    color: #e6f1ff;
}

.status-table td:last-child {
    color: #9ecbff;
    text-align: left;
}
.view-btn,
.view-btn:link,
.view-btn:visited {
    margin-top: 12px;
    display: inline-block;
    padding: 8px 12px;
    background: #3aa0ff;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px;
    text-align:center;
}

.view-btn:hover,
.view-btn:focus,
.view-btn:active {
    background: #5ab2ff;
    color: #ffcc00 !important;
    text-decoration: none !important;
}
.tag {
    display: inline-block;
    padding: 6px 10px;
    margin: 5px 5px 0 0;
    background: #1a2636;
    border-radius: 6px;
    text-decoration: none;
    color: #9ecbff;
    font-size: 13px;
}
.witness-header{
    display:flex;
    gap:25px;
    align-items:flex-start;
    flex-wrap:wrap;
}

.witness-photo{
    flex:0 0 220px;
}

.witness-photo img{
    width:auto;
    height:280px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #444;
    background:#222;
}

.witness-info{
    flex:1;
    min-width:250px;
}

.witness-info h1{
    margin-top:0;
}

.witness-info .occupation{
    font-size:18px;
    color:#888;
    margin-bottom:20px;
}
.evidence-image {
    max-width: 100%;
    width: auto;
    height: 280px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.evidence-image:hover {
    transform: scale(1.02);
}

.edit-profile-card {
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
}

.profile-preview {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.profile-preview img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #333;
    background: #111;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #ccc;
}

.form-group input[type="text"],
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.save-btn {
    background: #3aa0ff;
    color: #000;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: 0.2s;
}

.save-btn:hover {
    background: #66b8ff;
}

.success-msg {
    background: #0d3b66;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}
