body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1e1e1e);
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.internsec {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.internsec-loginoverlay {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    text-align: center;
    width: 300px;
}

.internsec-loginoverlay h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form input {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    text-align: center;
}

.login-form button {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #ff6a00;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-form button:hover {
    background: #ff8800;
}

.error-msg {
    background: rgba(255, 0, 0, 0.2);
    color: #ff5555;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.register-link {
    display: block;
    margin-top: 20px;
    color: #ff6a00;
    text-decoration: none;
    font-size: 0.9em;
}

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

.internsec-footer {
    margin-top: 50px;
    font-size: 0.8em;
    color: #bbb;
    text-align: center;
}
.internsec-footer a {
    color: #ff6a00;
    text-decoration: none;
}
.internsec-footer a:hover {
    text-decoration: underline;
}

.success-msg {
    background: rgba(0, 255, 100, 0.2);
    color: #55ff99;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.error-msg {
    background: rgba(255, 0, 0, 0.2);
    color: #ff5555;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.login-form input,
.register-form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #0088ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background-color: #006fe0;
}

.error-msg {
    color: #ff5c5c;
    background: rgba(255,0,0,0.1);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.success-msg {
    color: #5cff7e;
    background: rgba(0,255,0,0.1);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.register-link {
    display: block;
    margin-top: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9em;
}

.register-link:hover {
    color: #fff;
}

.internsec-footer {
    margin-top: 2rem;
    font-size: 0.8em;
    opacity: 0.6;
}