/* === reset css === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a,
button {
    cursor: pointer;
}

/* === reset css === */

:root {
    --bgliteblue: #f0f6ff;
    --bgblue: #001726;
    --liteblue: #2768d9;
    --darkblue: #002d53;
    --textblack: #3a3a3a;
    --black: #000000;
    --white: #ffffff;

    --btn-blue: #4a90e2;
    --btn-red: #e94e77;
    --btn-green: #4caf50;

    --btn-Dblue: #003366;
    --btn-Dred: #c62828;
    --btn-Dgreen: #00695c;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif !important;
    box-sizing: border-box;
}

/* === Scroll Bar Css === */

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    margin-left: 5px;
    padding-left: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--darkblue);
    border-radius: 10px;
}

/* === Scroll Bar Css === */

body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--textblack);
    background-size: 600% 100%;
    animation: gradient 10s linear infinite;
    animation-direction: alternate;
    position: relative;
}

header {
    background-color: var(--bgliteblue);
    border: 4px solid var(--liteblue);
    border-top: 0;
    border-right: 0;
    color: var(--textblack);
    padding: 10px 20px;
    border-radius: 0 0 0 15px;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 555;
    box-shadow: 0 2px 10px 0 #3a3a3a26;
}

aside {
    background-color: var(--liteblue);
    backdrop-filter: blur(20px);
    border: 4px solid var(--liteblue);
    border-left: 0px;
    color: var(--textblack);
    min-width: 300px;
    width: 300px;
    max-height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    padding: 0 20px;
    border-radius: 0 15px 15px 0;
    position: sticky;
    top: 0;
    z-index: 555;
    box-shadow: 0 2px 10px 0 #3a3a3a26;
}

.main-content {
    background-color: var(--bgliteblue);
    border: 4px solid var(--liteblue);
    color: var(--textblack);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px 0 0 15px;
    border-right: 0;
    box-shadow: 0 2px 10px 0 #3a3a3a26;
}

main {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;

}

#main {
    width: calc(100% - 320px);
    transition: all 0.4s;
}

#main.main-open {
    width: calc(100% - 120px);
}

.main-content:last-child {
    margin-bottom: 0;
}

/* === === */
.menubar-ham {
    padding: 20px 10px;
    border-bottom: 2px solid var(--darkblue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s;
}

.menubar-ham span {
    font-size: 18px;
    font-weight: bold;
    color: var(--bgliteblue);
    transition: all 0.4s;
}

.menu-layer {
    position: fixed;
    content: '';
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.297);
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 997;
    transform: translate(150%);
    transition: all 0.4s;
}

.aside-open .menubar-ham span {
    display: none;
    transition: all 0.4s;
}

.aside-open .menubar-ham {
    padding: 20px 0;
}

.menu-list {
    padding: 10px 0;
    padding-right: 3px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 81px);
}

#nav-icon {
    width: 28px;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon.open {
    margin: 0 auto;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--bgliteblue);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(2) {
    top: 8px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(3) {
    top: 16px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -2px;
    left: 1px;
}

#nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 18px;
    left: 1px;
}

/* === === */

/* === aside === */
aside ul {
    padding: 0;
    list-style: none;
}

aside ul li {
    padding: 5px 0;
}

aside ul li a {
    color: var(--bgliteblue);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    background-color: transparent;
    border-radius: 10px;
    transition: all 0.4s;
}

aside ul li a:hover {
    background-color: var(--white);
    color: var(--textblack);
    box-shadow: 0 2px 10px 0 #3a3a3a26;
}

aside ul li a.active {
    background-color: var(--darkblue);
    color: white;
    box-shadow: 0 2px 10px 0 #3a3a3a26;
}

aside ul li a span {
    white-space: nowrap;
}

/* === aside-close === */

.aside-close {
    transition: all 0.4s;
}

.aside-open {
    min-width: 100px;
    width: 100px;
    transition: all 0.4s;
}

.aside-open ul li a {
    transition: all 0.4s;
    justify-content: center;
}

.aside-open ul li a span {
    display: none;
    transition: all 0.4s;
}

/* === aside-close === */
/* === aside === */
h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--textblack);
}

/* === Dashboard Profile === */

.dashboard-profile {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: stretch;
    gap: 20px;
}

.profile {
    background-color: transparent;
    color: var(--textblack);
    border: 2px solid var(--darkblue);
    padding: 10px;
    border-radius: 10px;
    transition: all 0.4s;
    overflow: hidden;
}

.profile .card-link{
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
    text-wrap: wrap;
    overflow: hidden;
    overflow-x: auto;
    padding-bottom: 2px;
}

.profile:hover {
    background-color: var(--bgblue);
    color: var(--bgliteblue);
}

.profile div {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.profile svg {
    width: 24px;
    height: 24px;
}

.profile p {
    font-size: 20px;
    font-weight: bold;
}

.profile span {
    font-size: 16px;
    font-weight: 500;
    display: block;
}

/* === Dashboard Profile === */
/* === Holding Profile === */
.holding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.holding h1 {
    margin-bottom: 0;
}

.head-btn {
    background-color: var(--darkblue);
    border: none;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.4s;
}

.head-btn:hover {
    background-color: var(--liteblue);
}

.head-btn svg {
    width: 20px;
    height: 20px;
}

.holding-table {
    overflow-x: auto;
}

.holding-table table {
    width: 100%;
    overflow-x: hidden;
}

.holding-table table thead tr th {
    text-align: start;
    font-weight: 400;
    font-size: 16px;
    padding: 10px;
    white-space: nowrap;
}

.holding-table table tbody tr {
    border-top: 1px solid var(--bgblue);
}

.holding-table table tbody tr td {
    text-align: start;
    font-weight: 500;
    font-size: 18px;
    padding: 10px;
    white-space: nowrap;
}

.holding-table .button-group {
    display: flex;
    justify-content: start;
    align-items: stretch;
    gap: 10px;
    width: fit-content;
}

.holding-table .table-btn {
    display: block;
    background-color: red;
    width: fit-content;
    padding: 8px 14px;
    color: var(--white);
    border-radius: 10px;
}

.holding-table .table-btn svg {
    width: 16px;
    height: 16px;
}

.holding-table .table-btn.edit {
    background-color: var(--btn-blue);
    transition: all 0.4s;
}

.holding-table .table-btn.edit:hover {
    background-color: var(--btn-Dblue);
}

.holding-table .table-btn.bin {
    background-color: var(--btn-red);
    transition: all 0.4s;
}

.holding-table .table-btn.bin:hover {
    background-color: var(--btn-Dred);
}

.holding-table .table-btn.view {
    background-color: var(--btn-green);
    transition: all 0.4s;
}

.holding-table .table-btn.view:hover {
    background-color: var(--btn-Dgreen);
}

/* === Holding Profile === */

/* === Header Profile === */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header .logo {
    width: 50%;
}
.header .logo img {
    max-height: 30px;
    max-width: 100%;
}

.profile-dropdown {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.profile-dropdown .dropdown-icon {
    display: flex;
    justify-content: start;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.profile-dropdown .initials-circle {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    letter-spacing: 2px;
    background-color: var(--btn-green);
    color: var(--white);
    font-weight: bold;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    border: 4px solid var(--liteblue);
}

.cart-btn{
    position: relative;
}

.cart-btn .card-num {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--btn-Dred);
    border-radius: 50px;
    display: flex;
    padding: 4px;
    font-size: 14px;
    justify-content: center;
    align-items: center;
}

.cart-btn,
.logout {
    color: var(--white);
    background-color: var(--darkblue);
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.4s;
}

.cart-btn svg, .logout svg {
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
}

.cart-btn:hover,
.logout:hover {
    background-color: var(--liteblue);
}

/* === Header Profile === */
/* === Model === */
.model-close {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    transform: translate(-150%);
    opacity: 0;
    z-index: 999;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s;
}

.model-open {
    transform: translate(0%);
    opacity: 1;
}

.model-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.297);
    backdrop-filter: blur(10px);
}

.model-body {
    background-color: var(--bgliteblue);
    color: var(--textblack);
    border-radius: 10px;
    padding: 30px;
    max-width: 80%;
    min-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 2px 10px 0 #3a3a3a26;

    position: relative;
    z-index: 1;
}

.model-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--darkblue);
}

.model-head .close {
    cursor: pointer;
    transition: all 0.4s;
}

.model-head .close:hover {
    transform: rotate(90deg);
}

.model-head-text {
    font-size: 18px;
    font-weight: bold;
}

.model-base {
    margin: 20px 0;
    padding: 10px 0;
    height: 100%;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.model-footer {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-top: 10px;
    gap: 10px;
    border-top: 2px solid var(--darkblue);
}

.model-footer .submit {
    background-color: var(--btn-Dblue);
    transition: all 0.4s;
}

.model-footer .submit:hover {
    background-color: var(--btn-blue);
}

.model-footer .cancle {
    background-color: var(--btn-Dred);
    transition: all 0.4s;
}

.model-footer .cancle:hover {
    background-color: var(--btn-red);
}

.model-head .close-logout {
    cursor: pointer;
    transition: all 0.4s;
}

.model-head .close-logout:hover {
    transform: rotate(90deg);
    transition: all 0.4s;
}

.model-footer a{
    text-decoration: none;
}

/* === Model === */
/* === Input Filed === */
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
}

select:focus,
textarea:focus,
input:focus {
    outline: none;
    border: 2px solid var(--liteblue);
}

select,
textarea,
input {
    border: 2px solid var(--darkblue);
    border-radius: 10px;
    padding: 10px 20px;
    background-color: transparent;
    display: block;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
}

label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.check-input {
    display: flex;
    width: calc(50% - 20px);
    justify-content: space-between;
}

.check-input label {
    margin-bottom: 0;
}

.slect-input,
.name-input,
.file-input {
    width: calc(50% - 20px);
}

.color-input {
    width: calc(25% - 30px);
}

.user-input {
    width: calc(100% - 20px);
}

.text-input {
    width: 100%;
}

.imagePreview {
    max-width: 100%;
    width: fit-content;
    height: 150px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    border: 2px solid var(--darkblue);
    margin-top: 10px;
    padding: 10px;
}

input[type=file] {
    padding: 3px;
}

input[type="color"] {
    padding: 2px;
    height: 40px;
    border-radius: 0px;
}

input[type=file]::file-selector-button {
    margin-right: 10px;
    border: none;
    background: var(--darkblue);
    padding: 10px 20px;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
}

textarea::placeholder,
input::placeholder {
    transform: translate(0);
    transition: all 1s;
}

textarea:focus::placeholder,
input:focus::placeholder {
    transform: translate(-100%);
}


.form-btn-group {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    align-items: stretch;
    gap: 20px;

}

.form-btn-group .submit {
    background-color: var(--btn-Dblue);
    transition: all 0.4s;
    text-decoration: none;
}

.form-btn-group .submit:hover {
    background-color: var(--btn-blue);
}

.form-btn-group .cancle {
    background-color: var(--btn-Dred);
    transition: all 0.4s;
    text-decoration: none;
}

.form-btn-group .cancle:hover {
    background-color: var(--btn-red);
}

.form-error {
    display: block;
    opacity: 0;
    color: var(--btn-Dred);
    font-size: 14px;
    margin-top: 3px;
    transition: all 0.4s;
}

.form-error.show {
    opacity: 1;
}

/* === Input Filed === */
/* === Animation css === */

.animations-loop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.animations-loop span {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--darkblue);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.animations-loop span:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.animations-loop span:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animations-loop span:nth-child(3) {
    left: 20%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.animations-loop span:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.animations-loop span:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.animations-loop span:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.animations-loop span:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.animations-loop span:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.animations-loop span:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.animations-loop span:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

}

/* === Animation css === */




/* === Login Layer === */
.login-body {
    background-color: var(--bgliteblue);
}

.login-layer {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.085);
    backdrop-filter: blur(1px);
    box-shadow: 0 2px 10px 0 #3a3a3a26;
}

#signin {
    max-width: 1440px;
    width: 100vw;
    min-height: 100vh;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signin {
    width: 80%;
    margin: 0 auto;
    transition: all 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: var(--bgliteblue);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px 0 #3b95d68d;
}

.sidebar {
    background-color: var(--darkblue);
    color: var(--bgliteblue);
    padding: 100px 50px;
    display: flex;
    justify-content: start;
    align-items: center;
    transition: all 0.4s;
}

#login h1,
.sidebar h1 {
    font-size: 50px;
    color: var(--bgliteblue);
    margin-bottom: 30px;
}

#login p,
.sidebar p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--bgliteblue);
    margin-bottom: 0;
}

#login h1,
#login p {
    color: var(--textblack);
}

.login-slide .sidebar {
    border-radius: 20px 100% 100% 20px;
}

.signup-slide .sidebar {
    border-radius: 100% 20px 20px 100%;
}

.login {
    padding: 100px 50px;
    width: 50%;
}

.login-slide .sidebar {
    position: relative;
    z-index: 50;
    left: 0;
    transition: all 0.8s;
}

.signup-slide .sidebar {
    position: relative;
    z-index: 50;
    left: 50%;
    transition: all 0.8s;
}

.login-slide #signup.login,
.login-slide #login.login {
    position: relative;
    right: 0;
    transition: all 0.8s;
}

.signup-slide #signup.login,
.signup-slide #login.login {
    position: relative;
    right: 50%;
    transition: all 0.8s;
}

#login {
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-slide #login .login-point {
    /* display: block; */
    opacity: 1;
    width: 100%;
    height: 100%;
}


.login-slide #login .signup-point {
    /* display: none; */
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.signup-slide #login .signup-point {
    opacity: 1;
    width: 100%;
    height: 100%;
}

.signup-slide #login .login-point {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

#login form .name-input {
    width: 100%;
    position: relative;
}

.toggle-password {
    content: ' ';
    display: block;
    position: absolute;
    /* width: 24px;
    height: 24px; */
    /* background-image: url("../public/img/eye.svg");
    background-size: contain;
    background-repeat: no-repeat; */
    cursor: pointer;
    top: 50%;
    right: 0;
    transform: translateX(-50%);
    z-index: 99;
}

#login form {
    gap: 20px;
    margin-top: 30px;
}

.forget-slide  #login .signup-point, 
.forget-slide  #login .login-point {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.forget-slide .sidebar {
    border-radius: 20px 100% 100% 20px;
}

.forget-slide .forgot-password-point{
    opacity: 1;
    width: 100%;
    height: 100%;
}

.forgot-password-point{
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}


div#login .slide-zone{
    width: 100%;
}

div#login .forgot-password,
div#login .login-slider,
div#login .sign-up {
    color: var(--liteblue);
}

/* === Login Layer === */

/* === theme-card === */
.theme-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: stretch;
    gap: 20px;
}

.theme-card {
    border-radius: 20px;
    position: relative;
    /* border-radius: 0 0 0 30px; */
    padding-bottom: 30px;
    /* background-color: var(--white); */
    width: calc(50% - 10px);
    overflow: hidden;
    transition: all 0.4s;
}

.theme-card.slected-theme::after {
    content: 'Slected';
    position: absolute;
    right: 30px;
    top: 0;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px 0 var(--liteblue);
    background-color: var(--darkblue);
    color: var(--bgliteblue);
    z-index: 2;
}

.theme-card.upcoming-theme::after {
    content: 'Up Coming';
    position: absolute;
    right: 30px;
    top: 0;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px 0 var(--liteblue);
    background-color: var(--darkblue);
    color: var(--bgliteblue);
}

.theme-card-body {
    /* padding: 10px 20px; */
    padding: 20px 20px 10px 20px;
    border-radius: 0 0 20px 20px;
    background-color: var(--liteblue);
    width: calc(100% - 30px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.theme-card:hover .theme-card-body {
    box-shadow: 0 2px 10px 0 var(--darkblue);
}

.theme-card img {
    width: 100%;
    /* height: 300px; */
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--darkblue);
    margin-bottom: -10px;
    position: relative;
    z-index: 2;
}

.theme-card ol {
    margin-bottom: 30px;
}

.theme-card ol li {
    color: var(--bgliteblue);
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    margin-bottom: 4px;
}

.theme-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.theme-btn-group .cancle:hover {
    background-color: var(--btn-green);
    box-shadow: 0 2px 10px 0 #ffffff26;
}

.theme-btn-group .submit:hover {
    background-color: var(--btn-blue);
    box-shadow: 0 2px 10px 0 #ffffff26;
}

/* === Error === */

.plan-body,
.rzp-body,
.fail-body,
.success-body,
.error-body {
    background-color: var(--bgliteblue);
}

.plan-container,
.rzp-container,
.fail-container,
.success-container,
.error-container {
    margin: 0 auto;
    max-width: 1440px;
    width: 100vw;
    min-height: 100vh;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-contant,
.rzp-contant,
.fail-contant,
.success-contant,
.error-contant {
    width: 80%;
    margin: 0 auto;
    transition: all 0.4s;
    background-color: var(--bgliteblue);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px 0 #3b95d68d;
    padding: 50px;
    text-align: center;
}

.plan-eye,
.rzp-eye,
.fail-eye,
.success-eye,
.error-eye {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.erroreye {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1;
    border-radius: 500px;
    background-color: var(--darkblue);
    overflow: hidden;
    padding: 50px;
}

.erroreye-black {
    display: block;
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
    border-radius: 500px;
    background-color: var(--liteblue);
}

.plan-contant .head-btn,
.fail-contant .head-btn,
.success-contant .head-btn,
.error-contant .head-btn {
    width: fit-content;
    margin: 0 auto;
}

.plan-contant h1,
.fail-contant h1,
.success-contant h1,
.error-contant h1 {
    font-size: 50px;
    color: var(--darkblue);
    text-align: center;
}

.plan-contant p,
.fail-contant p,
.success-contant p,
.error-contant p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--textblack);
    text-align: center;
}

/* === Error === */
/* === success === */
.fail-eye .checkmark,
.success-eye .checkmark {
    position: relative;
    padding: 30px;
    animation: checkmark 5m infinite;
}

.fail-eye .checkmark__check,
.success-eye .checkmark__check {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate3d(-50%, -50%, 0);
    fill: var(--bgliteblue);
}

.fail-eye .checkmark__background,
.success-eye .checkmark__background {
    fill: var(--btn-green);
    animation: rotate 35s linear both infinite;
}

.fail-eye .star,
.success-eye .star {
    position: absolute;
    animation: grow 2s infinite;
    fill: var(--btn-Dgreen);
    opacity: 0;
}

.fail-eye .star:nth-child(1),
.success-eye .star:nth-child(1) {
    animation-delay: 0.5s;

    width: 12px;
    height: 12px;
    left: 12px;
    top: 16px;
}

.fail-eye .star:nth-child(2),
.success-eye .star:nth-child(2) {
    animation-delay: 1s;

    width: 18px;
    height: 18px;
    left: 168px;
    top: 84px;
}

.fail-eye .star:nth-child(3),
.success-eye .star:nth-child(3) {
    animation-delay: 1.5s;

    width: 10px;
    height: 10px;
    left: 32px;
    top: 162px;
}

.fail-eye .star:nth-child(4),
.success-eye .star:nth-child(4) {
    animation-delay: 3s;

    width: 20px;
    height: 20px;
    left: 82px;
    top: -12px;
}

.fail-eye .star:nth-child(5),
.success-eye .star:nth-child(5) {
    animation-delay: 4.5s;

    width: 14px;
    height: 14px;
    left: 125px;
    top: 162px;
}

.fail-eye .star:nth-child(6),
.success-eye .star:nth-child(6) {
    animation-delay: 5s;

    width: 10px;
    height: 10px;
    left: -4px;
    top: 66px;
}

@keyframes grow {

    0%,
    100% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    10%,
    50%,
    90% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* === success === */

/* === fail === */

.fail-eye .checkmark__background {
    fill: var(--btn-red);
}

.fail-eye .star {
    fill: var(--btn-Dred);
}

/* === fail === */

/* === fail === */

.rzp-eye {
    margin-bottom: 0;
}

/* === fail === */

/* === plan === */

.rzp-eye,
.plan-contant p,
.plan-contant {
    text-align: left;
}

/* === plan === */


/* === success-model === */
.failed-model.open,
.success-model.open {
    transform: translate(-20px);
    opacity: 1;
}

.failed-model,
.success-model {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    transform: translate(150%);
    opacity: 0;
    z-index: 999;

    display: flex;
    justify-content: end;
    align-items: start;
    transition: all 0.4s;
    filter: drop-shadow(0 20px 60px #000000);
}

.failed-model .failed-body,
.success-model .success-body {
    background-color: var(--btn-green);
    color: var(--textblack);
    border-radius: 10px;
    padding: 20px;
    max-width: 80%;
    max-height: 90vh;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 2px 10px 0 #3a3a3a26;
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.failed-model .failed-body {
    background-color: var(--btn-red);
}

.head-title-model {
    font-size: 20px;
    font-weight: bold;
    color: var(--bgliteblue);
    margin: 0;
    margin-bottom: 10px;
}

.details-title-model {
    font-size: 18px;
    font-weight: 300;
    color: var(--bgliteblue);
}

.failed-icon,
.success-icon {
    color: var(--bgliteblue);
    display: block;
    margin: 0 auto;
    width: 50px;
    flex: 0 0 auto;
}

.failed-icon svg,
.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-close,
.failed-close {
    cursor: pointer;
    transition: all 0.4s;
    color: var(--bgliteblue);
    position: absolute;
    top: 10px;
    right: 10px;
}

.success-close:hover,
.failed-close:hover {
    transform: rotate(90deg);
    transition: all 0.4s;
}

/* === success-model === */
/* === card-model === */
.shipping-card,
.cart-main-box {
    width: calc(50% - 20px);
}
.shipping-card{
    position: sticky;
    top: 100px;
    z-index: 10;
}

.cart-main-box img{
    max-width: 100%;
    margin: 0;
    border: 2px solid var(--darkblue);
    border-radius: 10px;
}

.cart-main-box .cart-box {
    border: 2px solid var(--darkblue);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}
.cart-main-box .cart-box:last-child {
    margin-bottom: 0;
}

.cart-card{
    margin-bottom: 10px;
    position: relative;
}

.cart-form {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}

.cart-form .check-input, .cart-form .slect-input, .cart-form .name-input, .cart-form .file-input {
    width: 100%;
}
.cart-main-box .cart-form .file-input .cart-img {
    border: 2px solid var(--darkblue);
    border-radius: 10px;
    margin-top: 5px;
    max-width: 200px;
}

.cart-btn-group {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-top: 10px;
}

.cart-btn-group span {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.cart-btn-group .submit {
    background-color: var(--btn-Dgreen);
}

.cart-btn-group .cancle {
    background-color: var(--btn-red);
}

.cart-btn-group .cancle:hover {
    background-color: var(--btn-Dred);
}

.cart-form .check-input{
    justify-content: start;
    gap: 10px;
    align-items: center;
}
.cart-form .check-input input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.cart-bin {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    padding: 7px 10px;
}

.card-empty .cart-svg{
    background-color: #002d53;
    padding: 20px;
    border-radius: 500px;
    width: fit-content;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 30px;
}
.cart-svg svg,
.cart-svg img {
    width: 150px;
    object-fit: contain;
    object-position: center;
    height: auto;
    filter: drop-shadow(0px 0px 4px #ffffffa3);
}

.card-empty .card-empty-heading{
    text-align: center;
}

.card-empty a{
    width: fit-content;
    margin: 0 auto;
}
/* === card-model === */
/* === order-model === */
.order-box img{
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    object-position: center;
}

.order-box{
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 20px;
    flex-wrap: wrap;
}

.order-box .order-card{
    width: calc(33.33% - 26.66px);
    border: 2px solid var(--darkblue);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.order-box .order-card .order-price {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--darkblue);
    padding: 5px 10px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

.order-details{
    padding: 20px;
    padding-top: 24px;
}

.order-details h2 {
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
}

.order-details p {
    font-size: 14px;
    line-height: 18px;
}

.order-card-body {
    margin-top: 20px;
}
.order-card .slick-dotted.slick-slider{
    margin-bottom: 0 !important;
}
.order-card .slick-dots {
    bottom: -20px;
}
.order-card .slick-dots li{
    margin: 0;
}
/* === order-model === */


@media (max-width: 1024px) {
    .aside-close {
        min-width: 100px;
        width: 100px;
        transition: all 0.4s;
    }

    .aside-close ul li a {
        transition: all 0.4s;
        justify-content: center;
    }

    .aside-close ul li a span {
        display: none;
        transition: all 0.4s;
    }

    .aside-close .menubar-ham span {
        display: none;
        transition: all 0.4s;
    }

    #nav-icon {
        margin: 0 auto;
    }

    #main {
        width: calc(100% - 120px);
        transition: all 0.4s;
    }

    /* #main.main-open{
        width: calc(100% - 120px);
    } */
    .aside-open {
        min-width: 300px;
        width: 300px;
        transition: all 0.4s;
    }

    .aside-open ul li a span {
        display: block;
        transition: all 0.4s;
    }

    .aside-open ul li a {
        transition: all 0.4s;
        justify-content: start;
    }

    .aside-open .menubar-ham span {
        display: block;
        transition: all 0.4s;
    }

    #nav-icon.open {
        margin: 0;
    }

    h1 {
        font-size: 18px;
    }

    .profile p {
        font-size: 18px;
    }

    .profile span {
        font-size: 14px;
    }

    .profile div {
        margin-bottom: 10px;
    }

    .holding {
        margin-bottom: 20px;
    }

    .holding-table table thead tr th {
        font-size: 14px;
    }

    .holding-table table tbody tr td {
        font-size: 16px;
    }

    label {
        font-size: 14px;
    }

    select,
    textarea,
    input {
        font-size: 14px;
        padding: 10px 10px;
    }


    /* === Login Form === */
    .login {
        padding: 50px 100px;
        width: 100%;
    }

    .signin {
        width: calc(100% - 100px);
        flex-direction: column;
    }

    .signup-slide .sidebar,
    .login-slide .sidebar {
        border-radius: 0 0 100px 100px;
        text-align: center;
    }

    .login-slide .sidebar,
    .signup-slide .sidebar {
        position: unset;
    }

    .login-slide #signup.login,
    .login-slide #login.login {
        position: unset;
        transition: all 0.8s;
    }

    .signup-slide #signup.login,
    .signup-slide #login.login {
        position: unset;
        transition: all 0.8s;
    }

    /* === theme-card === */

    .theme-card {
        width: calc(50% - 10px);
    }

    /* .theme-card img {
        height: 250px;
    } */

    /* === other page === */
    .erroreye {
        width: 150px;
        height: 150px;
        padding: 30px;
    }

    .erroreye-black {
        width: 50px;
        height: 50px;
    }

    .color-input {
        width: calc(33.33% - 26.66px);
    }
}

@media (max-width: 768px) {
    aside {
        padding: 0 10px;
    }

    .aside-close {
        min-width: 80px;
        width: 80px;
        transition: all 0.4s;
    }

    #main {
        width: calc(100% - 100px);
        transition: all 0.4s;
    }

    main {
        justify-content: end;
    }

    aside {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 998;
    }

    #main.main-open {
        width: calc(100% - 100px);
    }

    .aside-open {
        min-width: 250px;
        width: 250px;
        transition: all 0.4s;
    }

    header {
        padding: 10px 10px;
    }

    .main-content {
        padding: 20px 10px;
    }

    form {
        gap: 20px;
    }

    .slect-input,
    .user-input,
    .name-input,
    .file-input {
        width: calc(100%);
    }

    .menu-layer {
        transform: translate(0%);
    }

    .manulayer {
        transform: translate(-150%);
        transition: all 0.4s;
    }

    /* === Login === */

    .signup-slide .sidebar,
    .login-slide .sidebar {
        border-radius: 0 0 50px 50px;
    }

    .login {
        padding: 50px 50px;
    }

    #login h1,
    .sidebar h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    #login p,
    .sidebar p {
        font-size: 14px;
        font-weight: 300;
        line-height: 20px;
    }

    /* === theme-card === */

    .theme-card {
        width: calc(100% - 0px);
    }

    /* .theme-card img {
        height: 300px;
    } */

    /* === other page === */
    .plan-contant,
    .rzp-contant,
    .fail-contant,
    .success-contant,
    .error-contant {
        padding: 30px 20px;
    }

    .plan-contant h1,
    .fail-contant h1,
    .success-contant h1,
    .error-contant h1 {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 10px;
    }

    .plan-contant p,
    .fail-contant p,
    .success-contant p,
    .error-contant p {
        font-size: 16px;
        line-height: normal;
        margin-bottom: 20px;
    }

    .erroreye {
        width: 100px;
        height: 100px;
    }

    .erroreye-black {
        width: 30px;
        height: 30px;
    }

    .plan-eye,
    .rzp-eye,
    .fail-eye,
    .success-eye,
    .error-eye {
        margin-bottom: 30px;
    }

    .failed-model .failed-body, .success-model .success-body{
        padding: 10px;
        gap: 10px;
    }

    .head-title-model{
        font-size: 20px;
        font-weight: bold;
    }

    .details-title-model {
        font-size: 16px;
        font-weight: 400;
    }

    .color-input {
        width: calc(50% - 20px);
    }

    /* === other page === */
    /* === store page === */
    .order-box .order-card {
        width: calc(50% - 10px);
    }

    .order-details h2 {
        font-size: 18px;
    }
    /* === store page === */
    /* === cart page === */
    .cart-form{
        gap: 10px;
    }
    .shipping-card, .cart-main-box {
        width: 100%;
    }
    /* === cart page === */
}

@media (max-width: 750px) {
    .model-body {
        min-width: 90%;
    }

    .profile-dropdown .dropdown-icon {
        display: none;
    }

    .cart-btn,
    .logout {
        margin-left: 0px;
    }

    .cart-btn svg, .logout svg {
        width: 20px;
        height: 20px;
        aspect-ratio: 1 / 1;
    }

    .profile-dropdown .initials-circle{
        width: 40px;
        font-size: 16px;
        border: 3px solid var(--liteblue);
    }

    #main {
        width: calc(100% - 70px);
        transition: all 0.4s;
    }

    main {
        gap: 10px;
    }

    header,
    .main-content {
        margin-bottom: 10px;
    }

    aside {
        padding: 0 5px;
    }

    .aside-close {
        min-width: 60px;
        width: 60px;
    }

    .aside-open {
        min-width: 250px;
        width: 90%;
    }

    .menubar-ham {
        padding: 10px 5px;
    }

    #main.main-open {
        width: calc(100% - 90px);
    }

    .menu-list {
        padding-right: 0;
    }

    aside ul li a {
        padding: 10px 5px;
    }
    .color-input {
        width: 100%;
    }
}

@media (max-width:500px) {
    .signin {
        width: calc(100% - 40px);
    }

    .login {
        padding: 30px 20px;
    }

    /* === theme-card === */

    .theme-card {
        padding-bottom: 10px;
    }

    .theme-box {
        gap: 10px;
    }

    .theme-card img{
        margin-bottom: -3px;
    }

    .theme-card-body{
        padding: 10px 10px 10px 10px;
        border-radius: 0 0 10px 10px;
    }


    .order-box .order-card {
        width: 100%;
    }
    .order-details {
        padding: 10px;
        padding-top: 14px;
    }
}

#signin {
    margin: 0 auto;
}

button#rzp-button {
    border: none;
    background: #002d53;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 30px;
    transition: all 0.4s;
}

button#rzp-button:hover {
    border: none;
    background: #2768d9;
}


@media (max-width: 768px) {
    button#rzp-button {
        width: 100%;
    }
}