body, h2, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.658); /* Dark background with transparency */
}

/* Modal Content */
.modal-content {
    border-radius: 12px; /* Rounded corners */
    background-color: #fefefe;
    padding: 20px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.596);
    max-width: 600px;
    /* margin: 11% auto; */
    margin: auto;
    border: 1px solid #888;
    width: 80%;
}

/* Modal Header */
.modal-header {
    display: block;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Modal Title */
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
#taskListHeading{
    font-size: 18px;
    font-weight: normal;
    color: #333;
}

/* The Close Button */
.close {
    position: absolute;
    top: -3px;
    right: 5px;
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Modal Body */
.modal-body {
    margin: 1rem auto;
    padding-left: 1rem;
    font-size: 16px;
    color: #555;
}

/* Button Styling */
.buttonsWrapper {
    width: max-content;
    margin: auto;
}
.mac-button {
    background-color: #007aff; /* Blue color similar to macOS buttons */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 1rem;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mac-button:hover {
    background-color: #0051a8; /* Darker blue on hover */
}


.modalTaskItem{
    font-size: 1.2rem;
    border-bottom: 1px solid black;
}




#submitBtn {
    margin-right: 1.5rem;
}


#modalAddItemWrapper{
    min-width: 333px;
    width: max-content;
    /* min-height: 33px; */
    border: 1px solid rgb(0, 204, 255);
    background-color: white;
    position: fixed;

    padding: 0.5rem;
    border-radius: 8px;

    z-index: 1001;

    display: flex;
    flex-direction: row;
    align-items: center;
}
.modalAddItemWrapper{
}

.show {
    display: block; visibility: visible;
}
.hide {
    display: none; visibility: hidden;
}




input[type="text"] {
    color: initial; /* or set to a specific color */
    outline: none;
}

input[type="text"]:focus {
    color: initial; /* or the same color as in the non-focused state */
    outline: none;
}
