/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

/* Background Image */
.login-container {
    background: url('<?=$theme_url;?>img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay for better readability */
.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* Login Box */
.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section .logo {
    width: 80px;
    margin-bottom: 10px;
}

.logo-section h2 {
    font-size: 1.8em;
    color: #333;
}

/* Form Styles */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #999;
}

.login-form input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.login-form input:focus {
    border-color: #007BFF;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    border: none;
    color: #fff;
    font-size: 1.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    .logo-section h2 {
        font-size: 1.5em;
    }

    .btn-submit {
        font-size: 1em;
    }
}
