body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow-y: scroll;
}

h1 {
    margin-left: 10px;
    font-size: 32px;
}

h1 span a {
    text-decoration: none;
    color: #007bff;
}

h1 span a:hover {
    text-decoration: underline;
    color: #0056b3;
}

h2 {
    font-size: 24px;
    padding: 20px;
    background-color: #ddd;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#calendar {
    margin: 20px auto;
    max-width: 100%;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
}

.modal-content input, .modal-content textarea, .modal-content select {
    display: block;
    width: 95%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-content button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #218838;
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

input[type="color"] {
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    padding: 0;
}

#pdf-download-btn {
    background-color: #009000; 
    border: none; 
    color: white; 
    padding: 15px 32px; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 16px; 
    margin: 4px 2px; 
    cursor: pointer; 
    border-radius: 10px; 
}  

#pdf-download-btn:hover {
    background-color: #006000;
}

#pdf-download-btn:active {
    background-color: #004000;
}

#delete-task-btn {
    background-color: #ff0000;
}

#delete-task-btn:hover {
    background-color: #aa0000;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#date-picker {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin: 10px;
}

.search-container span {
    margin: 0 10px;
    font-size: 14px;
    color: #333;
}

#search-btn {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#search-btn:hover {
    background-color: #0056b3;
}

#yearly-calendar {
    display: inline-block;
    padding: 20px;
    font-size: 20px;
    margin: 10px;
    background-color: #28a745;
    color: #fff;
}

#yearly-calendar:hover {
    background-color: #218838;
}

.fc-header-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.fc-header-toolbar .fc-toolbar-chunk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.fc-header-toolbar .fc-toolbar-chunk:first-child,
.fc-header-toolbar .fc-toolbar-chunk:last-child {
    flex: 1 1 auto;
}

.fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
    flex: 1 1 100%;
    text-align: center;
}

.fc-event {
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.fc-event-category, .fc-event-description {
    font-size: 12px;
    line-height: 1.3;
    display: block;
    color: #333;
}

.fc-event .fc-event-main {
    display: flex;
    flex-direction: column;
}

.fc-event-title-container small {
    font-size: 11px;
    color: #333;
}

.fc-event-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
}

.fc-event-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    font-weight: bold;
}

.fc-event-meta {
    font-size: 0.8em;
    font-weight: normal;
    opacity: 0.8;
    margin-left: 4px;
}

.modal-content label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.search-container input[type="text"] {
    width: 50%;
    min-width: 100px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #bbb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.fc-event.not-started {
    border-left: 4px solid #aaa;
}

.fc-event.in-progress {
    border-left: 4px solid orange;
}

.fc-event.done {
    border-left: 4px solid green;
}

.notification-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.notification-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

#request-permission-btn {
    background-color: #007bff;
}

#request-permission-btn:hover {
    background-color: #0056b3;
}

.notification-option {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    font-size: 14px;
    color: #333;
}

#notification-toggle {
    width: 18px;
    height: 18px;
}

#notification-approval {
    width: 18px;
    height: 18px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.notification-toggle button {
    background-color: #007bff;
}

.notification-toggle button:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 600px) {
    .fc-header-toolbar .fc-toolbar-chunk {
        justify-content: center;
        margin-bottom: 10px;
    }
}

.app-download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}
  
.download-app-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 25px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  max-width: fit-content !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
  
.download-app-btn:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #2575fc, #6a11cb);
}
  
.download-app-btn:active {
  transform: scale(0.98);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}
  
.app-icon {
  font-size: 24px;
}