.gu-transit {
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .column {
        width: 100%;
        padding: 10px;
    }

    .modal, .verification-window, .alert-window {
        width: 90%;
        max-width: 400px;
    }

    #add-task {
        bottom: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow: hidden;
}
.container {
    display: flex;
    height: 100%;
    overflow: hidden;
}
.column {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
.column h2 {
    text-align: center;
    color: black;
}
#todo-column {
    background-color: #ffcccc;
}
#inprogress-column {
    background-color: #ffffcc;
}
#done-column {
    background-color: #ccffcc;
}
.task-list {
    min-height: 50px;
}
.task {
    background-color: #ffcccc; /* Default red background */
    border: 1px solid black; /* Black border */
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: move;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.task:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.task.active {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.task h3 {
    font-size: 1.2em;
    margin: 0 0 10px 0; /* Increased bottom margin */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.task p {
    font-size: 0.9em;
    margin: 0;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#add-task {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: white;
    border: 2px solid #ff0000;
    color: #ff0000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
}
#static-task-form {
    display: grid;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 2000;
}
.modal-content {
    margin-bottom: 20px;
}
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal-buttons .row {
    display: flex;
    justify-content: space-between;
}
.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#todo-btn {
    background-color: #28a745;
    color: white;
}
#cancel-btn, #delete-btn {
    background-color: #dc3545;
    color: white;
}
#repeat-prompt-btn, #generate-btn {
    background-color: #007bff;
    color: white;
}
.verification-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 3000;
}
#ai-task-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#ai-prompt-container {
    display: flex;
    gap: 10px;
}
#ai-task-prompt {
    flex-grow: 1;
}
.gu-mirror {
    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
}
.gu-hide {
    display: none !important;
}
.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
.gu-transit {
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);
}