/* Base styles */
.hidden {
    display: none!important;
    visibility: hidden!important;
}

.icon {
    fill: currentColor;
    height: 1em;
    line-height: 1rem;
    max-width: 100%;
    width: 1rem;
    cursor: pointer;
    vertical-align: text-bottom;
}

.icon-blue {
    color: rgb(0, 97, 235);

}

.icon-gray {
    color: #676767;
}

body {
    font-family: "proxima-nova", "proxima nova", "helvetica neue", "helvetica", "arial", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #031b4e;
    font-size: 1rem; /* This will be 16px */
}

.App {
    display: flex;
    height: 100vh;
}

.strikethrough {
    text-decoration: line-through;
  }  

.sidebar {
    background-color: #031b4d;
    width: 400px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 2rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    text-align: left;
}

.sidebar a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    padding: 0.6rem 4rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1rem;
}

.sidebar a:hover {
    background-color: #e5e8ed;
    color: #031b4e;
    font-weight: 600;
}

.sidebar .logo {
    background-image: url('./linkedout.png');
    background-size: 128px auto;
    width: 128px;
    height: 128px;
    display: block;
    margin: 0 1.3rem;
    opacity: 0.63;
    transition: opacity 0.4s linear;
}

.sidebar .profile-image {
    background-size: 256px auto; /* Scale the image */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center; /* Center the image */  
    border-radius: 50%; /* Crop the image into a circular shape */
    width: 256px;
    height: 256px;
    display: block;
    margin: 0.6rem 4rem;
    transition: opacity 0.4s linear;
}

.sidebar .logo:hover {
    opacity: 1;
}

.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5 {
    color:#fff;
    padding-left: 4rem;
    width: 19rem
}

.logo a {
    all: unset; /* Reset all inherited styles */
}

.main-content {
    position: relative;
    margin-left: 400px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 1050px;
}

header {
    color: #031b4e;
    font-size: 0.9rem;
    text-align: left;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow for the bottom border */
    z-index: 100;
}

.content-area {
    flex-grow: 1;
    padding: 0px 96px 24px 96px;
    background-color: rgb(243, 245, 249);
}

h1 {
    font-size: 2.4rem;
    font-weight: 300;
}

h2 {
    margin-top: 0;
}

h3 {
    font-size: 1.2rem;
    letter-spacing: .06rem;
}

h5 {
    margin: 1.3rem 0;
    letter-spacing: .06rem;
    font-size: .8rem;
    line-height: .8rem;
    font-weight: 600;
}

.font-darkGray {
    color: #676767;
}

.font-blueGray {
    color: #5b6987;
}

.font-blue {
    color: #0069ff;
}

.font-size-dot8 {
    font-size: .8rem;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-600 {
    font-weight: 600;
}

.border-bottom-lightGray {
    border-bottom: 1px solid #dfdfdf;
}

button {
    appearance: none;
    margin: 0;
    font-family: inherit;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 1rem;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    line-height: 44px;
    height: 48px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
}

.button-green {
    color: #fff;
    background: rgb(18, 124, 67);
}

.button-green:hover {
    background: rgb(10, 166, 83);
}

.button-green:focus {
    outline: #031b4e dotted 2px;
    outline-offset: 2px;
}

/* Disabled button styles - prevents hover and focus effects for green buttons */
.button-green:disabled,
.button-green:disabled:hover,
.button-green:disabled:focus {
    cursor: not-allowed; /* Maintain 'not-allowed' cursor */
    background: #f1f1f1; /* Light gray background to indicate disabled state */
    border: 1px solid #f1f1f1; /* Matching border color for a uniform look */
    color: #bbb; /* Light gray text color to indicate disabled state */
    box-shadow: none; /* Remove any box-shadow effects */
}

.button-blue {
    color: #fff;
    background: #0069ff;
    border-color: #0069ff;
}

.button-blue:hover {
    background: #0052ff;
    color: #fff;
}

.button-blue:focus {
    outline: 0;
    box-shadow: 0 0 0 1px #fff,0 0 2px 2px #0069ff;
}

/* Disabled button styles - prevents hover and focus effects */
.button-blue:disabled,
.button-blue:disabled:hover,
.button-blue:disabled:focus {
    cursor: not-allowed; /* Maintain 'not-allowed' cursor */    
    background: #f1f1f1; /* Light gray background to indicate disabled state */
    border: 1px solid #f1f1f1; /* Matching border color for a uniform look */
    color: #bbb; /* Light gray text color to indicate disabled state */
    box-shadow: none; /* Remove any box-shadow effects */
}

.button-blue-transparent {
    background: none;
    color: #0069ff;
    border-color: #0069ff;
}

.button-blue-transparent:hover {
    background: #0069ff;
    color: #fff;
}

.button-blue-transparent:focus {
    outline: 0;
    box-shadow: 0 0 0 1px #fff, 0 0 2px 2px #0069ff;
}

/* Disabled button styles - prevents hover and focus effects for blue transparent buttons */
.button-blue-transparent:disabled,
.button-blue-transparent:disabled:hover,
.button-blue-transparent:disabled:focus {
    cursor: not-allowed; /* Maintain 'not-allowed' cursor */
    background: #f1f1f1; /* Light gray background to indicate disabled state */
    border: 1px solid #f1f1f1; /* Matching border color for a uniform look */
    color: #bbb; /* Light gray text color to indicate disabled state */
    box-shadow: none; /* Remove any box-shadow effects */
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 0;
    cursor: pointer;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    margin-left: 1rem;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.search-container {
    position: relative;
    margin-bottom: 1.3rem;
    margin-top: 1.3rem;
}

.quote {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(3, 27, 78, 0.16), 0 1px 3px rgba(3, 27, 78, 0.2);
    transition: box-shadow 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: relative;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

p {
    margin-block-start: 0.5rem;
    margin-block-end: 0.5rem;
}

.profile-entry {
    margin-left: 30px;
}

/* Remove bottom border for the last quote item */
.profile-entry:last-child {
    border-bottom: none;
}

.quote-discounts {
    display: flex;
    gap: .5rem;
}

.input {
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    outline: none;
    height: 48px;
    border: 1px solid #f1f1f1;
    line-height: 1.5;
    padding: 0 16px;
    font-size: 1rem;
    border-radius: 3px;
    background-color: #fff;
    max-width: 100%;
    box-sizing: border-box;
}

.input:focus {
    outline: rgb(91, 105, 135) dotted 2px;
    outline-offset: 2px;
    border-color: rgb(0, 97, 235);
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    position: sticky;
    left: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    padding: 24px 96px 34px 96px;
    border-top: 1px solid #999;
    color: #212121;
    gap: 2rem;
}

.quote-totals {
    margin: 0;
    flex-grow: 4;
}

.footer-container .discount,
.footer-container .controls {
    margin: 0;
}

.footer-container .controls {
    border: 0;
}

.header-footer-text-large {
    font-weight: 600;
    font-size: 1.3rem;
}

.header-footer-text-small {
    color: #676767;
    margin-top: 0;
    font-size: 0.8rem;
}

.header-footer-text-tiny {
    color: #676767;
    margin-top: 0;
    font-size: 0.6rem;
}

.quote-placeholder {
    color: #888;
    font-size: 1rem;
    text-align: center;
    padding: 20px;
}

.profile-entry-header {
    padding: .6rem 0;
}

.profile-entry-section {
    margin-right: 14px;
    margin-left: -30px;
    padding: 0 8px 0 10px;
    background: rgb(18, 124, 67);
    border-radius: 3px;
    font-size: 14px;
    line-height: 21px;
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.profile-entry-name-a {
    margin-right: 5px;
}

.profile-entry-name-b {
    margin-right: auto;
    color: rgb(91, 105, 135);
}

.profile-entry-action-buttons {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.profile-entry-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem; /* Add a vertical gap of 20px between all child elements */
    border-left: 2px solid rgb(229, 232, 237);
    padding: 0.4rem 0 1rem 1.1rem;
}

.profile-entry-description {
    gap: 2rem;
}

.profile-entry-quantity {
    display: flex;
    gap: 6px;
}

.action-text {
    cursor: pointer;
    color: rgb(0, 97, 235);
    font-weight: 600;
    background: transparent;
    padding: 0;
    border-radius: 3px;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    text-decoration: none;
}

.action-text:hover {
    color: rgb(51, 135, 255);
    text-decoration: underline;
}

.content-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name {
    margin-left: auto;
    padding-top: 0.5rem;
}

.company-name .input {
    width: 300px; /* Set a specific width */
}

.price {
    line-height: 1rem;
    min-width: fit-content;
}

.dollar {
    display: inline-block;
    font-size: .8rem;
    vertical-align: top;
    position: relative;
    top: 0;
    margin-right: .1rem;
}

.cost {
    font-size: 1.1rem;
    font-weight: 600;

}

.period {
    position: relative;
    font-size: .9rem;
    margin-left: .2rem;
}

.dollar-large {
    font-size: 1rem;
    margin-right: .2rem;
}

.cost-large {
    font-size: 1.6rem;
}

.period-large {
    font-size: 1rem;
    margin-left: .2rem;
}

.flex {
    display: flex;
}

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

.flex-center {
    align-items: center;
}

.flex-right {
    align-items: flex-end;
}

.flex-column {
    flex-direction: column;
}

.flex-start {
    justify-content: flex-start;
}

.flex-end {
    justify-content: flex-end;
}

.gap-dot2 {
    gap: .2rem;
}

.gap-dot5 {
    gap: .5rem;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.checkbox {
    all: unset;
    box-sizing: border-box;
    align-self: center;
    height: 1rem;
    width: 1rem;
}

.checkbox-input {
    all: unset;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: block;
    box-shadow: none;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(131, 144, 175);
}

.checkbox-input:hover {
    box-shadow: rgb(51, 135, 255) 0px 0px 0px 2px;
}

.checkbox-input:checked {
    border-color: rgb(0, 97, 235);
    border-width: 2px;
    background: url("data:image/svg+xml;charset=utf-8,%0A%20%20%3Csvg%20viewBox%3D%220%200%2012%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1%205L4%208L11%201%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3C%2Fsvg%3E")
    center center no-repeat rgb(0, 97, 235);
}

.margins-no {
    margin: 0;
}

.margins-no-bottom {
    margin-bottom: 0;
}

.icon-up, .icon-down {
    height: .65em;
    width: .65em;
    fill: rgb(0, 97, 235);
}