/* Import a Google font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Reset some default styles */
body, h1, p {
    margin: 0;
    padding: 0;
}

/* Main container */
.hwan-settings-container {
    font-family: 'Roboto', sans-serif;
    max-width: 800px;
    margin: 40px auto;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
}

/* Page title with icon */
.hwan-settings-container h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Message box */
.hwan-message {
    background-color: #fff9c4;
    border-left: 4px solid #ffeb3b;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Message text */
.hwan-message p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

/* Form container */
form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form label */
form label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

/* Form checkbox */
form input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Create a custom checkbox */
form label .checkmark {
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

/* Create the checkmark/indicator */
form label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px; /* Change this value */
    top: 4px; /* Change this value */
    width: 5px; /* Change this value */
    height: 10px; /* Change this value */
    border: solid #fff;
    border-width: 0 2px 2px 0; /* Change this value */
    transform: rotate(45deg);
}

/* Add margin-left to the label text */
form label span {
    margin-left: 10px;
}

/* Show the checkmark when checked */
form input[type="checkbox"]:checked ~ .checkmark {
    background-color: #007cba;
    border-color: #007cba;
}

form input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}

/* Form submit button */
form input[type="submit"] {
    background-color: #007cba;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    align-self: flex-end;
}

/* Form submit button hover effect */
form input[type="submit"]:hover {
    background-color: #005a87;
}

/* Form submit button focus effect */
form input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px #58a7e3;
}
