body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffe6e6;
    color: #333;
    margin: 0;
    padding: 20px;
    position: relative;
}

i {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    bottom: -3px;
    color: #87c9d4;
    margin-right: 10px;
}

select {
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 11px;
    margin: 23px 0;
}

.container {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

#header {
    max-width: 1600px;
    margin: 0 auto;
    text-align: left;
}
#planner_duration_buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.column {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.button-row {
    position: sticky;
    bottom: 20px;
}

.logo {
    display: inline--block;
    margin: 0;
    max-width: 320px;
    margin-right: 40px;
}

form {
    width: 100%;
}

form label {
    font-weight: 600;
    margin-top: 10px;
    display: block;
}
#top_textareas {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
}

form button, #copyButton, #lulu_link_button {
    width: 100%;
    font-family: "Poppins";
    background-color: #000000;
    color: white;
    padding: 12px;
    font-size: 16px;
    letter-spacing: 1px;;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

form button:hover, #copyButton:hover  {
    background-color: #2b2b2b;
    
}

#timerDisplay, #total_pages {
    font-size: 28px;
    line-height: 24px;
    margin-left: 10px;
}

/* Cover type image options styling */
#planner_type_options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    text-align: center;
}

.cover-option {
    width: 100px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 20px;
    transition: transform 0.2s, border 0.2s;
}

.cover-option:hover {
    transform: scale(1.1);
    border-color: #ffe6e6;
}

.cover-option.selected {
    border-color: #000000;
}

#week_start_buttons, #paper_color_buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


/* Option buttons for Model, Internal Pages, and Color */
#model_buttons,
#internal_pages_buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.option-button, .quantity-adjuster button, #week_start_buttons label, #paper_color_buttons label  {
    display: inline-block;
    background-color: #ffffff;
    color: #000;
    border: 3px solid #fffafa;
    border-radius: 13px;
    padding: 10px 20px;
    cursor: pointer;
    width: 90%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.draggable-item  {
    padding: 5px 5px 5px 10px;
}

.draggable-item span   {
    font-size: 12px;
    color: #ccc;
    margin-left: 10px;
}

.quantity-adjuster button{
    margin: 0 4px;
    border-radius: 200px;
    width: 48px;
    text-align: center;
    height: 48px;
    padding: 10px 11px;
}

.quantity-adjuster button i  {
    margin: 0;
    display: block;
    bottom: 0;
}

.option-button:hover, .quantity-adjuster button:hover, .draggable-item:hover {
    background-color: #ffffff;
    border: 3px solid #ffe6e6;
}

.option-button.selected, .quantity-adjuster button:active {
    border-color: #000000;
}

/* Color options grid styling */
#color_buttons {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

#color_buttons .option-button {
    padding: 10px;
    font-size: 12px; /* Smaller text to fit 8 per row */
}

/* Confirmation message styling */
#confirmationMessage, #custom-pages-summary {
    display: block;
}

#confirmationText {
    font-size: 16px;
    line-height: 1.5;
}

/* Task card footer */
#customerNameDisplay {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;;
}
.task-card-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-card-footer label {
    font-weight: normal;
    cursor: pointer;
}

.task-card-footer button {
    background-color: #ea5787;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.task-card-footer button:hover {
    background-color: #c9302c;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #planner_type_options {
        flex-direction: column;
        align-items: center;
    }
#color_buttons {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.column {
    width: 84%;
    margin: auto;
}
    .cover-option {
        margin-bottom: 15px;
    }

    form button {
        margin-top: 20px;
    }
}

.textareas_form {
    margin-right: 10px;
    width: 48%;
    display: inline-block;
    justify-content: space-around;
}

.textareas_form textarea {
    height: 100px;
    width: 90%;
    display: inline-flex;
}

.divider {
    height: 30px;
    width: 100%;
    background: #ffe6e654;
    display: block;
    margin: 20px 0;
    border-radius: 20px;
}

#custom_pages_selector {
    margin-top: 15px;
}

#pages_set_list {
    max-height: 500px;
    overflow: scroll;
    display: block;
    flex-direction: column;
    gap: 10px;
}

.category {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-direction: column;
}

#pages_set_list label {
    font-weight: normal;
    margin-top: 0;
}

#pages_set_list input[type="number"] {
    width: 50px;
    text-align: center;
}

input[type="number"] {
    border:0;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    -webkit-appearance: textfield;
       -moz-appearance: textfield;
            appearance: textfield;
  }
  input[type=number]::-webkit-inner-spin-button, 
  input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
  }


#custom-pages-summary h3 {
    margin-bottom: 10px;
}

#custom-pages-summary ul {
    list-style-type: none;
    padding: 10px 20px;
    border: 1px solid #ffe6e6;
    border-radius: 20px;
}

#custom-pages-summary li {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #ffe6e6;
}

#custom-pages-summary li:last-child {
    border-bottom: none;
}
.draggable-item  {
    display: grid;
    background-color: #ffffff;
    grid-template-columns: 3fr 1fr;
    color: #000;
    border: 3px solid #fffafa;
    border-radius: 13px;
    width: 100%;
    padding: 2px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    flex-direction: row;
    align-items: center;
}


.wrapper {
    display: flex;
    justify-content: space-between;
  }
  

  
.sidebar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
}

pre {white-space: pre-wrap}