:root {
    --primary: #5B4DF8;
    --primary-dark: #4A3ED9;
    --primary-light: #6A5EFA;
    --secondary-color: #4A3ED9;
    --accent-color: #6A5EFA;
    --main-border-radius: 12px;
    --buttons-radius: 12px;
    --bs-border-radius: var(--main-border-radius)!important;
}

::selection {
    background: #c7c7c766;
    color: var(--secondary-color);
}

::-moz-selection {
    background: #c7c7c766;
    color: var(--secondary-color);
}

.open-cart-item-outline {
    border-radius: var(--main-border-radius);
}

.paragraph {
    text-indent: 3rem;
}

/*body {*/
/*    font-family: 'Roboto';*/
/*}*/

main {
    flex: 1;
}

#cart-data p {
    line-height: 0.5rem;
}

#cart-card {
    min-height: 100px;
    background-color: var(--primary);
}

.navbar {
    background-color: var(--primary);
}

.nav-link {
    color: black;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.title-link {
    color: black !important;
}

.edit-button {
    position: relative;
    z-index: 999;
    background-color: #f2f2f2;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    background-image: url('/static/icons/edit.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

p {
    font-weight: 400!important;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 0s 600000s, color 0s 600000s;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.5px #D2691E;
}

.form-group label {
  font-weight: bold;
}


.dropdown-item:focus {
    background-color: #D2691E;
}


.primary-btn {
    display: block;
    background-color: var(--primary);
    color: #fff;
    width: max-content;
    position: relative;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
    padding: 10px 15px;
    border-radius: var(--buttons-radius);
    border: none;
    z-index: 1;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
}

.btn-primary-danger {
    background-color: #cc0000;
}

.btn-primary-danger:hover {
    background-color: #aa0000;
}



.secondary-btn {
    box-shadow:inset 0px 0px 0px 1px var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: var(--primary);
    width: max-content;
    position: relative;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
    padding: 10px 15px;
    border-radius: var(--buttons-radius);
    z-index: 1;
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    color: white !important;

}
/*.primary-btn:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    border-radius: var(--bs-border-radius);
    background-color: #D2691E;
    transition: all 0.3s ease;
}*/
/*.primary-btn:hover:after {
    left: 0;
    width: 100%;
}
.primary-btn:active {
    border-color: #D2691E;
}*/
.form-control {
    border-radius: var(--bs-border-radius)!important;
}
.nav-link {
    transition: color 250ms ease-in-out;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: black;
    font-weight: 400;
}

h6 {
    font-weight: 700;
}

h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}


/*.image-border {*/
/*    border-left: 2px solid rgba(0, 0, 0, 0.3);*/
/*    border-top: 2px solid rgba(0, 0, 0, 0.1);*/
/*}*/



.create-btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    padding: 10px 20px;
    position: relative;
    transition: all 0.2s ease;
}
.create-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    transform: translate(-50%, -50%);
    width: 25%;
    height: 2px;
    transition: all 0.2s ease;
    background-color: var(--secondary-color);
}
.create-btn:hover::before {
    width: 35%;
}
.create-btn:hover {
    opacity: 0.6;
}

.btn-edit,
 .btn-delete {
    display: flex;
    justify-content: center;
    flex: 1 1 0px;
    width: 0;
    border: 1px solid black;
    border-radius: 0px;
    transition: all 0.2s ease;
}
.btn-edit:hover {
    background-color: #f5f5f5;
}
.btn-delete:hover {
    background-color: #ff000020;
}

.search-container {
    position: relative;
    width: 25px;
    height: 40px;
    overflow: hidden;
    transition: all 0.5s;
    background: #fff;
    margin-left: 12px;
}

.search-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    transition: top 2s ease;
    /*left: 13px;*/
    transform: translateY(-50%);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    position: absolute;
    padding-left: 46px;
    width: 0;
    height: 100%;
    font-size: 16px;
    transition: all 0.5s;
}

.search-container:focus-within, .search-container:focus-within .search-input {
    border: 1px solid #ccc;
    width: 300px;
    .search-icon {
        left: 13px;
    }
}
.navbar-nav .nav-item {
    transition: all 0.5s;
}

.navbar .search-container:focus-within {
    border: 1px solid #ccc;
}