* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    padding: 15px;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

    input:focus {
        outline: none;
        border-color: #4CAF50;
    }

button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

    button:hover {
        background: #45a049;
    }

.links {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

    .links a {
        color: #4CAF50;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s;
    }

        .links a:hover {
            color: #45a049;
        }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

    .close:hover {
        color: #333;
    }



/* Responsive Styles */
@media (max-width: 480px) {
    .login-container,
    .modal-content {
        padding: 20px;
    }

    .modal-content {
        margin: 20% auto;
        width: 90%;
    }

    input,
    button {
        padding: 10px;
    }

    .links {
        flex-direction: column;
        gap: 10px;
    }
}

