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

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

.top-nav {
    background: #0f1115;
    padding: 18px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 2px solid #76b900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.top-nav h1 {
    color: #76b900;
    font-size: 1.6rem;
    font-weight: 700;
}

.top-nav nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 1.6rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.top-nav nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #76b900;
    transition: 0.3s;
}

.top-nav nav a:hover,
.top-nav nav a.active {
    color: #76b900;
}

.top-nav nav a:hover::after,
.top-nav nav a.active::after {
    width: 100%;
}

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

.card {
    background: #141922;
    padding: 32px;
    border-radius: 14px;

    border: 1px solid #1f2937;
    box-shadow: 0 6px 25px rgba(0,0,0,0.6);

    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 0 20px rgba(118,185,0,0.25);
}

.card h2 {
    color: #76b900;
    margin-bottom: 8px;
}

.card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

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

.form-row {
    display: flex;
    gap: 16px;
}

.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;

    background: #0f1115;
    color: white;

    border: 1px solid #1f2937;
    border-radius: 6px;

    font-size: 0.95rem;
    transition: 0.25s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #76b900;
    box-shadow: 0 0 8px rgba(118,185,0,0.5);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s;
}

.btn.primary {
    background: #76b900;
    color: black;
}

.btn.primary:hover {
    background: #8ee000;
    box-shadow: 0 0 12px rgba(118,185,0,0.7);
    transform: translateY(-2px);
}

/* secondary button */
.btn.secondary {
    background: #1f2937;
    color: #cbd5e1;
}

.btn.secondary:hover {
    background: #334155;
}

@media (max-width: 768px) {

    .form-row {
        flex-direction: column;
    }

    .top-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
