/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2980b9, #2c3e50);
}

.header {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sitename {
    font-size: 24px;
    color: #fff;
    margin-left: 10px;
}

.logo img {
    height: 50px;
}

/* Login Box Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 350px;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
}

.input-box {
    position: relative;
    margin-bottom: 30px;
}

.input-box input {
    width: 100%;
    padding: 10px 20px;
    background: #f2f2f2;
    border: none;
    outline: none;
    border-radius: 50px;
    font-size: 16px;
    padding-left: 40px;
}

.input-box label {
    position: absolute;
    left: 40px;
    top: 10px;
    color: #999;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -10px;
    left: 30px;
    color: #2980b9;
    font-size: 14px;
}

.input-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: 0.5s;
}

.input-box input:focus~i,
.input-box input:valid~i {
    color: #2980b9;
}

.forgot-password {
    margin-bottom: 20px;
}

.forgot-password a {
    color: #2980b9;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 50px;
    background: #2980b9;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-btn:hover {
    background: #2c3e50;
}