/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* BODY */
body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
#nav-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

/* LOGO */
.logo-hold img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* NAV LINKS */
.nav-link {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-link li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-link li a:hover {
    color: #007bff;
}

/* MAIN */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* REGISTER BOX */
.box {
    background: #ffffff;
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

/* TITLE */
.box h2 {
    margin-bottom: 25px;
    color: #2c5364;
}

/* INPUT FIELDS */
.box input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.box input:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0,123,255,0.3);
}

/* BUTTON */
.box button {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.box button:hover {
    background: #1e7e34;
}

/* TEXT */
.box p {
    margin-top: 15px;
    font-size: 14px;
}

.box a {
    color: #007bff;
    text-decoration: none;
}

.box a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer p {
    font-size: 14px;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-link {
        flex-direction: column;
        align-items: center;
    }

    .box {
        padding: 30px 20px;
    }
}
/* NAV LAYOUT FIX */
nav {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

/* Push logo to the right */
.logo-hold {
    margin-left: auto;
}

/* Optional: keep links on the left */
.nav-link {
    margin-right: auto;
}