/* General styling for the page */
body {
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#container {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#left-column, #right-column {
    flex: 1;
    min-width: 0;
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.column-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header-buttons {
    padding: 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
}

#button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#button-container button {
    background-color: #00a8ff;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#button-container button:hover {
    background-color: #0095e8;
    transform: translateY(-1px);
}

#button-container button:active {
    background-color: #0088d0;
    transform: translateY(0);
}

/* Fast Add button styles */
#fast-add-button {
    background-color: #9c27b0; /* Purple */
    animation: pulse 2s infinite;
}

#fast-add-button:hover {
    background-color: #8e24aa;
    animation: none;
}

#fast-add-button:active {
    background-color: #7b1fa2;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(156, 39, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(156, 39, 176, 0);
    }
}

.job-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #2a2a2a;
}

.job-content::-webkit-scrollbar {
    width: 8px;
}

.job-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.job-content::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

.job-content::-webkit-scrollbar-thumb:hover {
    background: #505050;
}

.job-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 8px;
    background-color: #3a3a3a;
    border-radius: 4px;
}

.button-container {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.clone-button {
    background-color: transparent;
    border: none;
    color: #00a8ff;
    cursor: pointer;
    padding: 0 4px;
    font-size: 1.2em;
    transition: all 0.2s ease;
    margin: 0 8px;
}

.clone-button:hover {
    color: #0095e8;
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(0, 168, 255, 0.4);
}

.clone-button:active {
    color: #0088d0;
    transform: translateY(0);
}

.job-item:last-child {
    margin-bottom: 0;
}

.job-item.live-job {
    background-color: #4a4a4a;
    color: #ffffff;
    font-weight: bold;
}

.job-time {
    margin-right: 8px;
    color: #ffffff;
}

.job-item .edit-button,
.job-item .tick-button {
    margin: 0 8px;
    background-color: transparent;
    border: none;
    color: #00a8ff;
    cursor: pointer;
    padding: 0 4px;
    font-size: 1.2em;
    transition: all 0.2s ease;
}

.job-item .edit-button:hover,
.job-item .tick-button:hover {
    color: #0095e8;
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(0, 168, 255, 0.4);
}

.job-item .edit-button:active,
.job-item .tick-button:active {
    color: #0088d0;
    transform: translateY(0);
}

.job-details {
    flex: 1;
    margin-left: 8px;
}

.header-with-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
}

.job-count {
    font-size: 1.1em;
    color: #00a8ff;
    font-weight: bold;
}

 /* Styling for edit icon button */
 .edit-button {
     background-color: transparent;
     border: none;
     color: #00a8ff;
     cursor: pointer;
     padding: 0 4px;
     font-size: 1.2em;
     transition: all 0.2s ease;
 }

 .edit-button:hover {
     color: #0095e8;
     transform: translateY(-1px);
     text-shadow: 0 1px 2px rgba(0, 168, 255, 0.4);
 }

 .edit-button:active {
     color: #0088d0;
     transform: translateY(0);
 }
 
 
 #left-header {
    padding: 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
}

#left-header h2 {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 1.2em;
}

#right-header {
    padding: 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
}

#right-header h2 {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 1.2em;
}

#button-container {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#pomodoro-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-end;
}

/* Container to hold the two columns */
 #container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    min-height: 100vh;
    gap: 20px;
} 
 
 /* Left column styling */
 #left-column, #right-column {
    flex: 1;
    border: 1px solid #404040;
    background-color: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.column-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header-buttons {
    padding: 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
}

.job-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #2d2d2d;
}

h2 {
    margin: 0;
    padding: 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #404040;
    color: white;
}
 
 
 /* Styling for the refresh button */
 #refresh-button {
    margin: 20px;
    padding: 12px 24px;
    background-color: #00a8ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 168, 255, 0.3);
 }

 /* Styling for import calendar button */
 #import-calendar-button {
     padding: 12px 24px;
     background-color: #00a8ff;
     color: white;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     font-weight: 500;
     transition: all 0.2s ease;
     box-shadow: 0 2px 4px rgba(0, 168, 255, 0.3);
 }

 #import-calendar-button:hover {
     background-color: #0095e8;
     transform: translateY(-1px);
     box-shadow: 0 4px 6px rgba(0, 168, 255, 0.4);
 }

 #import-calendar-button:active {
     background-color: #0080cc;
     transform: translateY(0);
 }
 
 
 #refresh-button:hover {
    background-color: #0095e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 168, 255, 0.4);
 }
 
 
 /* Styling for jobs in Live status */
 .live-job {
    font-weight: bold;
    color: #00a8ff;
 }

/* Default Meals Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    color: #ffffff;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    background: none;
    border: none;
    padding: 5px;
}

.close-button:hover {
    color: #00a8ff;
}

.form-group {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #333;
    border-radius: 6px;
    border: 1px solid #444;
}

.form-group h3 {
    margin-top: 0;
    color: #00a8ff;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.form-row label {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
    color: #ccc;
    font-size: 14px;
    gap: 5px;
}

.form-row input[type="time"],
.form-row input[type="number"],
.form-row input[type="text"] {
    background-color: #1a1a1a;
    border: 1px solid #444;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
}

.form-row input[type="time"]:focus,
.form-row input[type="number"]:focus,
.form-row input[type="text"]:focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    transition: all 0.2s ease;
}

#cancel-default-meals {
    background-color: #444;
    color: #ffffff;
}

#submit-default-meals {
    background-color: #00a8ff;
    color: #ffffff;
}

#cancel-default-meals:hover {
    background-color: #555;
    transform: translateY(-1px);
}

#submit-default-meals:hover {
    background-color: #0095e0;
    transform: translateY(-1px);
}

#submit-default-meals:active,
#cancel-default-meals:active {
    transform: translateY(0);
}
 