
:root {
    --left-background: #C8CEFF;
    --right-background: #E0E3FF;
}

#plan-container {
    /* width: 1000px; */
    /*background-color: #ffcc33;*/
    /* display: flex; */
    align-items: center;
    margin: auto;
    /* top right bottom left */
    padding: 20px 30px 20px 30px; 
}

#plan-left {
    float: left;
    /* min-width: 600px;
    max-width: 800px; */
    width: 45%;
    background-color: var(--left-background);
    border-radius: 10px;
    margin: auto;
    padding: 10px;
}

#plan-right {
    float: right;
    /* min-width: 700px; */
    width: 55%;
    margin: auto; 
    padding: 10px;
    background-color: var(--right-background);
}

#clear {
    clear: both;
}

#workout-title {
    border: 2px solid var(--outline-color);
    background-color: #f6f0f0;
    /* font-family: sans-serif; */
    font-weight: 350;
    margin: 10px;
}

#draft-plan {
    background-color: var(--pale-blue);
}

#plan-exercises-list {
    min-height: 100px;
}

.exercises-list{
    list-style: none;
    padding-bottom: 20px;
}

.exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue-darker);
    border: 1px solid var(--outline-color);
    padding: 10px;
    margin-bottom: 5px;

}

.exercise-element {
    display: block;
    background-color: var(--blue-darker);
    border: 1px solid var(--outline-color);
    /* cursor: grab; */
}

/*Collapsible list: https://www.w3schools.com/howto/howto_js_collapsible.asp*/
.collapsible {
    background-color: var(--blue-darker);
    border-radius: 5px;
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: 1px solid var(--outline-color);
    text-align: left;
    outline: none;
    font-size: 15px;
}
  
.active, .collapsible:hover {
    background-color: var(--blue-darker);
}
  
.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: var(--blue-lighter);
}

h2 {
    /* top right bottom left */
    margin: 5px 5px 5px 5px;
}

h4 {
    margin: 5px 5px -5px 5px;
}

.checkbox-holder {
    gap: 10px; 
    /* padding: 5px 20px 30px 15px; */
    padding: 10px;
}

input[type='checkbox'] + label{
    display: inline-block;
    padding-right: 20px;
}

.checkbox-instructions {
    padding:0px;
}

.select-all-section{
    margin: 0px 5px 5px 5px;
}

#button-holder {
    display: flex;
    justify-content: space-around; 
    padding: 20px; 
}

#button-holder button {
    background-color: #868ffa; 
    color: white; 
    border: none;
    padding: 10px 20px;
    margin: 0;
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    font-size: 1rem; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
}

#button-holder button:hover {
    background-color: var(--blue-darker); 
}

/* Style adjustments for the buttons */
.button-base {
    border: none;
    cursor: pointer;
    outline: none;
    font-size: 1rem;
    color: white;
    transition: background-color 0.3s;

}

.buttons-container {
    display: flex;
    align-items: center;
}

.exercise-element {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue-darker);
    border: 1px solid var(--outline-color);
    padding: 10px;
    margin-bottom: 5px;
}


.infobutton, .add-button {
    margin-left: 5px;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.add-button {
    background-color: #BCC2FF; 
}

.add-button:hover {
    background-color: #868ffa; 
}


/* .add-button {
    background-color: #BCC2FF; 
    color: white;
    border: none; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 1rem; 
    transition: background-color 0.3s; 
} */

.infobutton {
    background-color: #9FA2CC; 
}

.infobutton:hover {
    background-color: #7a7ea6;
}

.button-base {
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 1rem; 
    color: white; 
    border: none; 
    cursor: pointer;
    transition: background-color 0.3s; 
    margin-left: 5px; 
}

#plan-exercises-list {
    min-height: 100px;
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

#plan-exercises-list li {
    /* font-family: 'Arial', sans-serif;  */
    color: #5083BE; 
    margin: 10px;
    font-size: 1.2rem;
}

.exercise-name {
    font-size: 1.2rem;
    font-weight: bold;
}
.delete-button {
    background-color: #868ffa; 
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px; 
  }
  
  .reps-input {
    width: 40px; 
    margin: 0 5px;
  }
 
  .weight-input {
    width: 40px; 
    margin: 0 5px;
  }

/* Media query for responsive design */
@media (max-width: 600px) {
    .exercise-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .infobutton, .add-button {
        margin-top: 10px;
        margin-left: 0;
    }
}

body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
