:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img{
    width: 60px;
    height: 60px;
}

h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

p {
    color: #777;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.input-group i {
    position: absolute;
    right: 15px;
    top: 40px;
    color: #777;
}

.toggle-password {
    position: absolute;
    right: 40px;
    top: 40px;
    cursor: pointer;
    color: #777;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.options label {
    display: flex;
    align-items: center;
    color: #777;
    cursor: pointer;
}

.options input {
    margin-right: 8px;
}

.options a {
    color: var(--primary-color);
    text-decoration: none;
}

.options a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
}

.login-btn:hover {
    background-color: var(--secondary-color);
}



footer{
    width: 100%;
    text-align: center;
    color: var(--dark-color);
    margin-top: 1rem;
}

footer a{
    text-decoration: none;
    color: #126669;
    font-weight: bold;
}

footer p{ margin-bottom: 0;}
.dtext{ color: #DFA91E; }


@media (max-width: 600px) {
    .login-box {
        padding: 30px 20px;
    }
}
