* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.content-wrap {
    flex: 1;
}

footer {
    background-color: #7EA5D9;
    color: #393939;
    text-align: center;
}


#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 600px;
    height: 430px;
}

.taskForm-group input,
.taskForm-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#taskFormBttnDiv {
    margin-top: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#formSubmit {
    margin-top: 5px;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100px;
}

#formSubmit:hover {
    background-color: #45a049;
}

#closePopupBtn {
    margin-top: 5px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #af4c4c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 100px;
    text-decoration: none;
}

#closePopupBtn:hover {
    background-color: #b42f2f;
}

#taskForm label {
    margin-top: 10px;
}

/* Task Kutusu */
.task.notCompleted {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #e8aa47;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    position: relative;
}

.task.Completed {
    text-decoration: line-through;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #4fbb60;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    position: relative;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 10px;
    flex-wrap: nowrap;
}


.task-title {
    font-size: 18px;
    margin: 5px 0 0 0;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
    flex: 1;
}

@media (max-width: 768px) {
    .task-title {
        font-size: 16px;
    }
}

.task-actions {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-left: auto; 
}

.task-description {
    font-size: 14px;
    margin-top: 10px;
    padding: 0 6px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
}

.task-status {
    display: flex;
    justify-content: flex-end;
}

.task-status p {
    font-weight: 400;
    float: right;
    margin-bottom: 0;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    z-index: 1000;
}

.dropdown-menu .dropdown-item {
    padding: 10px;
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
    width: 100%;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

#usernameP {
    font-weight: 600;
    color: rgb(78, 33, 126);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0 0 4px;
}

#userDropdown {
    margin-right: 20px;
}

.status-button.Completed {
    font-size: 12px;
    font-weight: 300;
    padding: 5px 10px;
    background-color: #4fbb60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
}

.status-button.notCompleted {
    font-size: 12px;
    font-weight: 300;
    padding: 5px 10px;
    background-color: #e09238;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
}

#account-logout {
    text-decoration: none;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
}

.personal-info {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.personal-info h4 {
    margin-bottom: 1.5rem;
    color: #495057;
}

.personal-info .mb-3 {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.personal-info .mb-3:last-child {
    border-bottom: none;
}

.personal-info label {
    font-size: 1rem;
    color: #343a40;
}

.personal-info p {
    margin: 0;
    font-size: 1rem;
    color: #6c757d;
}

.task-length {
    float: right;
    font-size: 12px;
}

#task-delete-button {
    color: rgb(177, 61, 61);
    border: none;
}

#task-edit-button {
    color: rgb(177, 61, 61);
    border: none;
}

.task-box hr {
    margin: 8px 420px 0 10px;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.edit-btn,
.delete-btn {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 16px;
}

.edit-btn:hover,
.delete-btn:hover {
    color: #007bff;
}