:root {
    --ink-color: #433A3B;
    --teal-color: #016871;
    --green-color: #67AD3D;
    --ivory-color: #FBFBFB;
    --white-color: #FFFFFF;
    --default-text-color: var(--ink-color);
    --container_width: 1296px;
}

/* Text Fonts */

* {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--default-text-color);
    line-height: 22px;
}

html,
body {
    font-family: 'Roboto', sans-serif;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-ubuntu {
    font-family: 'Ubuntu', sans-serif;
}

@media screen and (max-width: 991px) {
    * {
        font-size: 14px;
    }
}

/* Text rules */

body {
    font-size: 1rem;
    /* 16px */
    letter-spacing: 0px;
    line-height: 1.375;
    font-weight: 400;
    text-transform: none;
    color: var(--ink-color);
}

h1 {
    font-size: 3.813rem;
    /* 61px */
    letter-spacing: 0px;
    line-height: 1.15;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 800;
    text-transform: none;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.063rem;
    /* 49px */
    letter-spacing: 0px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
}

h3 {
    font-size: 2.438rem;
    /* 39px */
    letter-spacing: 0px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
}

h4 {
    font-size: 1.938rem;
    /* 31px */
    letter-spacing: 0px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
}

h5 {
    font-size: 1.563rem;
    /* 25px */
    letter-spacing: 0px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 1rem;
}

h6 {
    font-size: 1.25rem;
    /* 20px */
    letter-spacing: 0px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0.75rem;
}

/* Text Sizes */
.text-61px {
    font-size: 3.813rem;
    /* 61px */
    line-height: 1.15;
}

.text-49px {
    font-size: 3.063rem;
    /* 49px */
    line-height: 1.2;
}

.text-39px {
    font-size: 2.438rem;
    /* 39px */
    line-height: 1.2;
}

.text-31px {
    font-size: 1.938rem;
    /* 31px */
    line-height: 1.25;
}

.text-25px {
    font-size: 1.563rem;
    /* 25px */
    line-height: 1.25;
}

.text-20px {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.3;
}

.text-16px {
    font-size: 1rem;
    /* 16px */
    line-height: 1.375;
}

.text-14px {
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.35;
}

.text-13px {
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1.35;
}

.text-12px {
    font-size: 0.75rem;
    /* 12px */
    line-height: 1.4;
}

.text-10px {
    font-size: 0.625rem;
    /* 10px */
    line-height: 1.4;
}

.text-8px {
    font-size: 0.5rem;
    /* 8px */
    line-height: 1.4;
}

/* Text Colours */
.text-teal {
    color: var(--teal-color) !important;
}

.text-default {
    color: var(--default-text-color) !important;
}

.text-green {
    color: var(--green-color) !important;
}

.text-ivory {
    color: var(--ivory-color) !important;
}

.text-white {
    color: var(--white-color) !important;
}

.text-ink {
    color: var(--ink-color) !important;
}

/* Background Colours */

.bg-ink {
    background-color: var(--ink-color) !important;
}

.bg-teal {
    background-color: var(--teal-color) !important;
}

.bg-green {
    background-color: var(--green-color) !important;
}

.bg-ivory {
    background-color: var(--ivory-color) !important;
}

.bg-white {
    background-color: var(--white-color) !important;
}

/* Font Weights */

.font-ex-bold {
    font-weight: 800 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-normal {
    font-weight: 400 !important;
}

.font-light {
    font-weight: 300 !important;
}

.font-ex-light {
    font-weight: 200 !important;
}

@media screen and (min-width: 992px) {
    .ml-100 {
        margin-left: 100px;
    }
}

/* Content wrapper class */

.wrapper {
    position: relative;
    width: 100%;
    max-width: var(--container_width);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Header */

#header {
    position: sticky;
    top: 0;
    z-index: 2000;
}

#header .header-body {
    opacity: 1;
    flex-direction: column;
    background: var(--white-color);
    transition: min-height 0.3s ease;
}

.awm-header .header-body {
    background: #ffffff;
    border-bottom: 1px solid #e5eded;
}

#header .header-container {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    transition: ease height 300ms;
    max-width: 1600px;
}

#header .header-row {
    flex-wrap: nowrap;
    display: flex;
    flex-grow: 1;
    align-items: center;
    align-self: stretch;
    max-height: 100%;
}

#header .header-column {
    display: flex;
    align-self: stretch;
    align-items: center;
    flex-grow: 1;
    flex-direction: column;
}

.header-logo {
    padding-top: 19px;
    padding-bottom: 19px;
}

.awm-header__logo {
    padding-top: 14px;
    padding-bottom: 14px;
}

.awm-header__logo-image {
    display: block;
    max-width: 170px;
    height: auto;
}

/* Add spacing between nav items */
.navbar-nav .nav-item {
    margin-right: 38px;
}

/* Remove margin from the last nav item to avoid extra space at the end */
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.awm-nav-link {
    color: var(--teal-color) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.awm-nav-link--active {
    color: var(--green-color) !important;
}

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

/* Mobile menu icon color */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.awm-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 105, 113, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Optional: Remove default border and focus styles */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 992px) {
    #header .header-nav {
        display: flex;
        align-items: center;
        flex-grow: 1;
        justify-content: flex-end;
        align-self: stretch;
    }

    #header .header-nav-main {
        display: flex !important;
        height: auto !important;
    }
}

@media (max-width: 991px) {
    #header .header-nav {
        display: flex;
        align-items: center;
    }

    #header .header-container {
        padding: 0;
    }

    .header-logo {
        padding-left: 1rem;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        position: absolute;
        top: 59px;
        right: 0;
        width: 100vw;
        background: white;
        padding: 1rem;
        box-shadow: 0px 3px 6px #00000029;
    }

    .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 15px;
        /* Vertical spacing for mobile */
    }

    .navbar-nav .nav-item:last-child {
        margin-bottom: 0;
    }

    .nav-item a {
        color: var(--default-text-color) !important;
    }
}

#header .header-column .header-row {
    justify-content: inherit;
}

/* AWM Login Page */
.awm-login-page {
    min-height: 80vh;
}

.awm-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 80vh;
}

.awm-login__panel {
    padding: 4rem 5vw;
}

.awm-login__panel--info {
    align-content: center;
    position: relative;
    overflow: hidden;
    background: var(--teal-color);
    color: #ffffff;
}

.awm-login__panel--info::before {
    content: none;
}

.awm-login__info {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.awm-login__features {
    display: grid;
    gap: 2rem;
}

.awm-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.awm-feature__icon {
    width: 20px;
    height: 20px;
    border: 2px solid var(--green-color);
    border-radius: 4px;
    position: relative;
    margin-top: 4px;
    flex: 0 0 auto;
}

.awm-feature__icon::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border-right: 2px solid var(--green-color);
    border-bottom: 2px solid var(--green-color);
    transform: rotate(45deg);
}

.awm-login__panel--form {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e3e8e8;
}

.awm-login__card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2.75rem;
    border-radius: 16px;
    background: #ffffff;
    /* box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08); */
}

.awm-login__form-title {
    text-align: center;
    color: var(--teal-color);
    margin-bottom: 2rem;
}

.awm-login__form-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #6b6f70;
    margin-top: -1.25rem;
    margin-bottom: 2rem;
}

.awm-login__form {
    display: grid;
    gap: 1rem;
}

.awm-login__label {
    font-size: 1.25rem;
    color: var(--green-color);
    font-weight: 700;
}

.awm-login__input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #dfe5e5;
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink-color);
}

.awm-login__input::placeholder {
    color: #9aa3a4;
}

.awm-login__consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.72rem;
    color: #6b6f70;
}

.awm-login__checkbox {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
    accent-color: var(--green-color);
}

.awm-login__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.awm-login__actions--split {
    align-items: center;
    justify-content: space-between;
}

.awm-login__consent--row {
    align-items: center;
}

.awm-login__card--login {
    max-width: 460px;
}

.awm-login__button {
    background: var(--teal-color);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    /* border-radius: 6px; */
}

.awm-login__footer {
    margin-top: 1.5rem;
    font-size: 1rem;
    text-align: center;
    color: var(--teal-color);
}

.awm-login__link-inline {
    color: var(--teal-color);
    text-decoration: underline;
}

.awm-login__link-inline--accent {
    color: var(--green-color);
}

/* AWM Signup/Login */
.signuplogin_form_body {
    width: 100%;
    max-width: 460px;
}

.signuplogin_form_inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signuplogin_buttons_container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ivory-color);
    border-radius: 17px;
    height: 4.25rem;
    padding: 0.313rem;
}

.signuplogin_button_enabled {
    background-color: #ffffff;
    color: var(--teal-color);
    border-radius: 17px;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    width: 50%;
    height: 100%;
    font-weight: 600;
    cursor: default !important;
}

.signuplogin_button_disabled {
    background-color: transparent;
    color: var(--ink-color);
    border: none;
    width: 50%;
    height: 100%;
    font-weight: 600;
    opacity: 0.45;
}

@media (max-width: 1024px) {
    .awm-login__panel--form {
        border-left: none;
    }
}

@media (max-width: 991px) {
    .awm-login {
        grid-template-columns: 1fr;
    }

    .awm-login__panel {
        padding: 3rem 2rem;
    }

    .awm-login__card {
        box-shadow: none;
        padding: 2rem 1.5rem;
    }

}

/* AWM Welcome Page */
.awm-welcome {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 100vh;
    background: #ffffff;
}

.awm-welcome.is-home {
    grid-template-columns: 90px minmax(0, 1fr) 620px;
}

.awm-welcome.is-tool .awm-welcome__panel {
    display: none;
}

.awm-welcome__sidebar {
    background: var(--teal-color);
    box-shadow: inset -12px 0 24px rgba(0, 0, 0, 0.12);
    color: #ffffff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    transition: width 0.2s ease, padding 0.2s ease, gap 0.2s ease;
}

.awm-welcome__toggle {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

.awm-welcome__toggle-icon {
    color: white;
    font-size: 3rem;
    display: inline-block;
    line-height: 1;
    font-weight: 200;
}

.awm-welcome__nav {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    width: 100%;
}

.awm-welcome__nav-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #e9f4f4;
    text-decoration: none;
    justify-content: flex-start;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 0;
}

.awm-welcome__nav-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #0b5960;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.awm-welcome__nav-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.awm-welcome__nav-label {
    color: white;
    font-weight: 400;
    display: none;
    line-height: 1.3;
    white-space: nowrap;
}

.awm-welcome.is-open {
    grid-template-columns: 270px minmax(0, 1fr);
}

.awm-welcome.is-open.is-home {
    grid-template-columns: 270px minmax(0, 1fr) 620px;
}

.awm-welcome.is-open .awm-welcome__sidebar {
    align-items: flex-start;
    padding-left: 2.5rem;
}

.awm-welcome.is-open .awm-welcome__nav-item {
    justify-content: flex-start;
}

.awm-welcome.is-open .awm-welcome__nav-label {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 0;
}

.awm-welcome__nav-item.is-active .awm-welcome__nav-icon {
    background: var(--green-color);
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.18);
}

.awm-welcome__nav-item.is-active .awm-welcome__nav-label {
    color: #ffffff;
}

.awm-welcome__nav-item:hover .awm-welcome__nav-icon {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.awm-welcome__nav-item:hover .awm-welcome__nav-label {
    color: #ffffff;
}

.awm-welcome.is-open .awm-welcome__toggle {
    align-self: flex-end;
    margin-right: 0.5rem;
}

.awm-welcome__content {
    padding: 5rem 9rem;
    background-color: #FBFBFB !important;
}

.awm-welcome__subtitle {
    font-weight: 700;
    color: var(--green-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.awm-welcome__links {
    margin-top: 3.5rem;
}

.awm-welcome__links ul {
    padding-left: 1rem;
    color: var(--teal-color);
}

.awm-welcome__links li {
    margin-bottom: 1rem;
}

.awm-welcome__links a {
    color: var(--teal-color);
}

.awm-welcome__panel {
    background: var(--green-color);
    color: #ffffff;
    padding: 2.5rem 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.awm-welcome__panel-header p {
    font-weight: 400;
    line-height: 1.5;
}

.awm-welcome__video {
    background: #ffffff;
    border-radius: 4px;
    padding: 1.5rem;
}

.awm-welcome__video-placeholder {
    height: 300px;
    background: #e2e2e2;
    border-radius: 2px;
    position: relative;
}

/* .awm-welcome__video-placeholder::after {
    content: '';
    width: 48px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

.awm-welcome__download {
    background: #ffffff;
    color: var(--teal-color);
    padding: 0.85rem 1.25rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.awm-welcome__download button {
    background: transparent;
    border: none;
    color: var(--teal-color);
    font-weight: 700;
    cursor: pointer;
}


@media (max-width: 1200px) {
    .awm-welcome {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .awm-welcome.is-open {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .awm-welcome.is-home {
        grid-template-columns: 90px minmax(0, 1fr) 400px;
    }

    .awm-welcome.is-open.is-home {
        grid-template-columns: 240px minmax(0, 1fr) 400px;
    }

    .awm-welcome__nav-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }
}

@media (max-width: 992px) {
    .awm-welcome {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .awm-welcome.is-home {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .awm-welcome__toggle {
        display: none;
    }

    .awm-welcome__sidebar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 1rem;
        gap: 1.5rem;
        grid-column: 1 / -1;
    }

    .awm-welcome__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.1rem;
        justify-content: center;
    }

    .awm-welcome__nav-label {
        display: inline-block;
        flex: 0 1 auto;
    }

    .awm-welcome__nav-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .awm-welcome__panel {
        grid-column: 1 / -1;
    }

    .awm-welcome.is-open {
        grid-template-columns: 1fr;
    }

    .awm-welcome.is-open.is-home {
        grid-template-columns: 1fr;
    }

    .awm-welcome.is-open .awm-welcome__nav-label {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .awm-welcome {
        grid-template-columns: 1fr;
    }

    .awm-welcome.is-open {
        grid-template-columns: 1fr;
    }

    .awm-welcome.is-home {
        grid-template-columns: 1fr;
    }

    .awm-welcome.is-open.is-home {
        grid-template-columns: 1fr;
    }

    .awm-welcome__toggle {
        display: none;
    }

    .awm-welcome__sidebar {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
        gap: 0.75rem;
    }

    .awm-welcome__nav {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
    }

    .awm-welcome__nav-label {
        display: none;
    }

    .awm-welcome__nav-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .awm-welcome__sidebar {
        padding: 0.75rem 0.5rem;
    }

    .awm-welcome__nav {
        gap: 0.5rem;
    }

    .awm-welcome__nav-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
}

/* AWM New Parcel */
.awm-new-parcel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.awm-new-parcel__header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.awm-new-parcel__title {
    color: var(--green-color);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.awm-new-parcel__title-rule {
    width: 360px;
    height: 2px;
    background: var(--teal-color);
}

.awm-new-parcel__form {
    border: 2px dashed #6fb6bd;
    padding: 2rem 2.5rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.awm-new-parcel__field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.awm-new-parcel__label {
    color: var(--teal-color);
    font-weight: 600;
}

.awm-new-parcel__input,
.awm-new-parcel__select {
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    background: #ffffff;
}

.awm-new-parcel__input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.awm-new-parcel__input-with-icon .awm-new-parcel__input {
    padding-right: 2.6rem;
}

.awm-new-parcel__input-icon {
    position: absolute;
    right: 1rem;
    color: var(--teal-color);
    font-size: 1.1rem;
}

.awm-new-parcel__field--checkbox {
    gap: 0;
}

.awm-new-parcel__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #666666;
    font-weight: 400;
}

.awm-new-parcel__checkbox-input {
    width: 18px;
    height: 18px;
    border: 1px solid var(--green-color);
}

.awm-new-parcel__checkbox-text {
    color: #666666;
}

.awm-new-parcel__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.awm-new-parcel__next {
    background: var(--green-color);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
}

/* AWM Parcels */
.awm-parcels {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.awm-parcels__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.awm-parcels__title {
    color: var(--green-color);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.awm-parcels__title-rule {
    width: 324px;
    height: 2px;
    background: var(--teal-color);
    margin-top: 0.5rem;
}

.awm-parcels__add {
    background: var(--teal-color);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.awm-parcels__add img {
    width: 30px;
    height: 24px;
}

.awm-parcels__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.awm-parcels__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 1.5rem;
}

.awm-parcel-card {
    border: 2px dashed var(--teal-color);
    border-radius: 0px;
    padding: 1.5rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.awm-parcel-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.awm-parcel-card__subtitle {
    margin: 0.25rem 0 0;
    color: var(--green-color);
    font-weight: 600;
}

.awm-parcel-card__edit {
    border: none;
    background: transparent;
    color: var(--teal-color);
    font-weight: 600;
    display: inline-flex;
    gap: 0.5rem;
    cursor: pointer;
}

.awm-parcel-card__edit img {
    width: 18px;
    height: 18px;
}

.awm-parcel-card__body {
    margin: 0;
}

.awm-parcel-card__details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.awm-parcel-card__map {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: #e4efef;
    position: relative;
}

.awm-parcel-card__map .leaflet-container {
    width: 100%;
    height: 100%;
}

.awm-parcel-card__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.awm-parcel-card__map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d7e6e6, #f6f7f7);
    position: relative;
}

.awm-parcel-card__marker {
    width: 18px;
    height: 18px;
    background: #2b6cb0;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    left: 45%;
    top: 50%;
}

.awm-parcel-card__marker::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

.awm-parcel-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.awm-parcel-card__trash {
    background: #78787b;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.awm-parcel-card__trash img {
    width: 16px;
    height: 16px;
}

.awm-parcel-card__entries {
    background: var(--teal-color);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1100px) {
    .awm-new-parcel__title-rule {
        width: 280px;
    }

    .awm-new-parcel__form {
        padding: 1.75rem 1.5rem;
    }

    .awm-parcels__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .awm-parcel-card__map {
        height: 180px;
    }

    .awm-parcels__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .awm-new-parcel__title-rule {
        width: 200px;
    }

    .awm-new-parcel__form {
        padding: 1.5rem 1.25rem;
    }

    .awm-parcels__toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .awm-parcels__title-rule {
        width: 220px;
    }
}

/* Parcel Entries */
.awm-parcel-entries {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.awm-parcel-entries__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.awm-parcel-entries__back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--green-color);
    text-decoration: none;
    line-height: 1;
}

.awm-parcel-entries__back h6 {
    margin: 0;
    line-height: 1;
}

.awm-parcel-entries__back-icon {
    color: var(--green-color);
    font-size: 35px;
    line-height: 1;
    display: block;
}

.awm-parcel-entries__toolbar {
    display: flex;
    align-items: center;
}

.awm-parcels__sort select {
    border: 1px solid var(--green-color);
    border-radius: 4px;
    padding: 0.35rem 0.9rem;
    color: var(--green-color);
    background: #ffffff;
    font-weight: 400;
}

.awm-parcel-entries__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.awm-parcel-entries__card {
    border: 2px dashed #6fb6bd;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
}

.awm-parcel-entries__info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.awm-parcel-entries__title {
    color: var(--teal-color);
    font-weight: 700;
    margin: 0;
}

.awm-parcel-entries__crops {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.awm-parcel-entries__crops h6,
.awm-parcel-entries__crops p {
    margin: 0;
    line-height: 1;
}

.awm-parcel-entries__label {
    color: #333333;
    font-weight: 700;
    line-height: 1;
}

.awm-parcel-entries__crop {
    color: #6b6b6b;
    line-height: 1;
}

.awm-parcel-entries__arrow {
    color: #6b6b6b;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.awm-parcel-entries__date {
    color: #7a7a7a;
    font-style: italic;
}

.awm-parcel-entries__download {
    background: var(--green-color);
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
}

.awm-parcel-entries__download img {
    width: 20px;
    height: 20px;
}

@media (max-width: 900px) {
    .awm-parcel-entries__card {
        flex-direction: column;
        align-items: flex-start;
    }

    .awm-parcel-entries__download {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .awm-parcel-entries__download {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */

.awm-footer {
    background: var(--white-color);
    border-top: 1px solid #e5eded;
}

.footer-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 217px;
    padding: 43px 2%;
    gap: 24px;
}

.footer-logo {
    max-width: 270px;
    margin-bottom: 29px;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.25));
}

.horizon_text {
    margin-top: 25px;
}

footer .border-end {
    border-right-color: rgba(255, 255, 255, 0.18) !important;
}

footer .border-top {
    border-top-color: rgba(255, 255, 255, 0.18) !important;
}

footer .social-icon {
    color: rgba(255, 255, 255, 0.9);
}

footer .social-icon:hover {
    color: #7ed957 !important;
}

/* EWS Map */
.map-container {
    height: calc(100vh - 84px);
    min-height: 820px;
}

.leaflet-popup {
    max-width: 206px !important;
}

.leaflet-popup-content {
    margin: 10px !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 9px !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-content {
    background-color: var(--teal-color) !important;
}

.termsfeed-com---palette-light .cc-cp-foot-save,
.termsfeed-com---palette-light .cc-nb-okagree,
.termsfeed-com---palette-light .cc-nb-reject {
    background: var(--teal-color) !important;
}

.leaflet-left {
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    bottom: 30px !important;
}


/* Social Media Icons */
.social-icon {
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none !important;
}

.social-icon:hover {
    color: var(--teal-color) !important;
    transform: scale(1.1);
    text-decoration: none !important;
}

.social-icon i {
    font-size: 24px !important;
    width: 24px;
    text-align: center;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    footer .border-end {
        border-right: none !important;
        border-bottom: 1px solid #6c757d !important;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    footer .ps-4 {
        padding-left: 0 !important;
    }

    footer .pe-4 {
        padding-right: 0 !important;
    }

    .foooter-row {
        gap: 10px;
    }
}
