/* Reset and base styles */
* {
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0f111a; /* Dark cyber background */
    color: #e0e6f0; /* Light text for contrast */
}

/* Form containers */
.login, .register {
    width: 400px;
    background-color: #1b1f2a;
    margin: 60px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.4); /* Glowing tech feel */
    overflow: hidden;
}

.login h1, .register h1 {
    text-align: center;
    color: #1abc9c; /* Neon accent */
    font-size: 26px;
    padding: 20px 0;
    border-bottom: 1px solid #34495e;
}

/* Form styles */
.login form, .register form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    gap: 15px;
}

/* Input fields */
.login input[type="text"],
.login input[type="email"],
.login input[type="password"],
.register input[type="text"],
.register input[type="email"],
.register input[type="password"] {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border-radius: 6px;
    border: 1px solid #34495e;
    background-color: #1b1f2a;
    color: #e0e6f0;
    font-size: 18px;
    transition: 0.2s border-color, 0.2s box-shadow;
}

.login input:focus,
.register input:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 8px #1abc9c;
    outline: none;
}

/* Circular icons next to inputs (if used) */
.login form label, .register form label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10%;
    background-color: #3498db;
    color: #fff;
}

/* Buttons */
.login input[type="submit"],
.register input[type="submit"],
.button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    background-color: #1abc9c;
    color: #0f111a;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s all;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0 10px rgba(26, 188, 156, 0.5);
}

.login input[type="submit"]:hover,
.register input[type="submit"]:hover,
.button:hover {
    background-color: #16a085;
    box-shadow: 0 0 15px rgba(26, 188, 156, 0.8);
}

/* Nav bar */
.navtop {
    background-color: #1b1f2a;
    height: 60px;
    width: 100%;
}

.navtop div {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    align-items: center;
}

.navtop div h1 {
    flex: 1;
    color: #1abc9c;
    font-size: 24px;
    font-weight: normal;
}

.navtop div a {
    padding: 0 20px;
    color: #bdc3c7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.navtop div a:hover {
    color: #1abc9c;
}

/* Content area */
.content {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.content h2 {
    font-size: 22px;
    color: #1abc9c;
    border-bottom: 1px solid #34495e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content > p,
.content > div {
    background-color: #1b1f2a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
}

/* Tables inside content */
.content table {
    width: 100%;
    border-collapse: collapse;
}

.content table td {
    padding: 8px;
    color: #e0e6f0;
}

.content table td:first-child {
    font-weight: bold;
    color: #1abc9c;
}

/* Messages */
.error-message {
    text-align: center;
    color: #e74c3c;
    background-color: #2c1a1a;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #e74c3c;
}

.success-message {
    text-align: center;
    color: #2ecc71;
    background-color: #1a2c1a;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #2ecc71;
}

/* General button class */
.button {
    display: inline-block;
    background-color: #1abc9c;
    color: #0f111a;
    font-weight: bold;
    border-radius: 6px;
    padding: 12px 20px;
    text-decoration: none;
    text-align: center;
    transition: 0.2s all;
}

.button:hover {
    background-color: #16a085;
    box-shadow: 0 0 15px rgba(26, 188, 156, 0.7);
}
