/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Background */
body, html {
    height: 100%;
    
    
}

.top-bar .login-btn {
    position: absolute;      
    top: 100px;              
    left: 20px;             
    padding: 8px 16px;       
    background-color: #ffffff; 
    color:#3498db;             
    font-weight: bold;
    border: 2px solid #2980b9; 
    border-radius: 6px;    
    text-decoration: none;   /* remove underline */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* optional shadow */
    transition: 0.3s; 
}

.top-bar .login-btn:hover {
    background-color: #2980b9;
    border-color: #1c5980;
}
/* body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* background: url('images/firstPagebg.jpg') no-repeat center center/cover; 
    filter: blur(6px) brightness(0.7);
    z-index: -1;
} */

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("psgitechbg.jpg") no-repeat center center/cover;
    filter: blur(8px);
    z-index: -1; /* push it behind everything */
}

/* Login Card */
.login-container {
    width: 350px;
    margin: 100px auto;
    background: rgba(255, 255, 255, 0.92);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* Heading */
.login-container h2 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
}

/* Inputs */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

/* Submit Button */
.login-container input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #2ecc71);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-container input[type="submit"]:hover {
    background: linear-gradient(135deg, #45a049, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Error Message */
.error {
    color: #e74c3c;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 600px) {
    .top-bar .login-btn {
        top: 140px; /* move button further down */
        left: 20px; /* keep horizontal position */
        padding: 8px 16px;
        font-size: 14px; /* optional: slightly smaller on mobile */
    }
}