body{
    padding: 0;
    margin: 0;
}

/* FULLSCREEN BACKDROP */

.lp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Change from center to flex-start */
    z-index: 999;
    backdrop-filter: blur(4px);
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 40px 0; /* Add padding so content isn't stuck at top */
}

/* THE LOGIN MODULE INSIDE THE OVERLAY */
.lp-overlay-box {
    animation: fadeInUp 0.35s ease;
    margin: auto; /* Keeps it centered horizontally */
}


/* ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*****************************
  PRODUCT MODULE — MODERN 2025
******************************/

/* Modern glass-card layout */



/* Title */
.m-title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

/* FLEX LAYOUT */
.m-content-row {
    display: flex;
    gap: 36px;
}

/* LEFT SIDE */
.m-fields-container {
    flex: 1;
}

/* RIGHT SIDE */
.m-preview-container {
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Field wrapper */
.m-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Labels */
.m-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

/* Modern input fields */
.m-input,
.m-file-input,
.m-field textarea {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fafafa;
    transition: 0.25s border, 0.25s background;
}

.m-input:hover,
.m-field textarea:hover {
    background: #fff;
}

.m-input:focus,
.m-field textarea:focus {
    border-color: #4b91ff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 145, 255, 0.15);
}

/* Modern image preview */
.m-preview {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.25s transform, 0.25s box-shadow;
}

/* Hover effect on preview */
.m-preview:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Submit button — Modern Primary */

.m-submit {

    background: linear-gradient(135deg, #d8c9b6, var(--elvang-brun)); /* Elvang-inspired tones */
    color: #333; /* Dark text for contrast */
    border: none;
    padding: 14px;
    width: 100%;
    margin-top: 25px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.m-submit:hover {
    background: linear-gradient(135deg, #cbb79e, #a8957a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(184, 164, 139, 0.35);
}



/* Success/Error Messages */
.m-message {
    margin-top: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

.m-error {
    color: #d9534f;
}

.m-success {
    color: #28a745;
}

/* RESPONSIVE */
@media (max-width: 700px) {
    .m-content-row {
        flex-direction: column;
        align-items: center;
    }

    .m-preview-container {
        width: 100%;
        justify-content: center;
    }

    .m-preview {
        width: 160px;
        height: 160px;
    }
}

/*****************************
LOGIN MODULE — MODERN 2025
******************************/

/* Modern glass-card layout */
.m-form {
   min-width: 30vw;
    background: #fff;
    padding: 32px;
    max-width: 80vw;
    margin: 60px auto;
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(6px);
    font-family: "Inter", system-ui, sans-serif;
}


/* Title */
.m-title {
    margin-bottom: 26px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

/* Fields container */
.m-fields-container {
    display: flex;
    flex-direction: column;
}

/* Field wrapper */
.m-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Labels */
.m-label {
    font-size: 14px;
    font-weight: 900;
    color: #333;
    margin-bottom: 6px;
}

/* Modern inputs */
.m-input {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fafafa;
    transition: 0.25s border, 0.25s background, 0.25s box-shadow;
}

.m-input:hover {
    background: #fff;
}

.m-input:focus {
    border-color: #4b91ff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 145, 255, 0.15);
}

/* Submit button — Modern Primary */

/* Success / Error Message */
.m-message {
    margin-top: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

.m-error {
    color: #d9534f;
}

.m-success {
    color: #28a745;
}

/* Wrapper der centrerer alt midt på siden */
#dashboard-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    padding: 40px;
    background: #f5f6fa;
}

/* Grid layout til knapper */
#dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

/* Store knapper (cards) */
.dashboard-card {
    background: white;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform .15s ease, box-shadow .15s ease;
}

/* Hover effekt */
.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    background: #eef3ff;
}

/* Tekst styling */
.dashboard-card h3 {
    margin: 0;
    color: #2c3e50;
    user-select: none;
}


/* Responsive for mobile */
@media (max-width: 480px) {
    .m-form {
        margin: 30px 16px;
        padding: 26px;
    }

    .m-title {
        font-size: 24px;
    }
}

/***************************
  LANDING PAGE — ELVANG
****************************/

:root {
    --elvang-brun: #E0DACF;
    --elvang-hvid: #FCFAF6;
    --text-dark: #1a1a1a;
    --text-mid: #333;
}

.lp-wrapper {
    font-family: "Inter", sans-serif;
    color: var(--text-dark);
    background: var(--elvang-hvid);
}


/* HEADER */
.lp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    font-size: 20px;
    background: var(--elvang-brun);
}

.lp-logo {
    height: 120px;
    width: auto;
    object-fit: cover;
    object-position: center;
}


.lp-nav-btn,
.lp-login-btn {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 10px;
    transition: 0.25s;
    user-select: none;
}

/* Logged-in (Dashboard) button — subtle */
.lp-nav-btn {
    color: #333;
}

.lp-nav-btn:hover {
    color: #000;
    transform: translateY(-1px);
}

/* Logged-out (Login) button — more visible CTA */
.lp-login-btn {
    background: #E0DACF; /* your brunlige color */
    border: 1px solid #d4cdc2;
    color: #1a1a1a;
}

.lp-login-btn:hover {
    background: #d7d0c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}


/* HERO SECTION */
.lp-hero {
    margin: 40px auto 0px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--elvang-brun);
    border: 1px solid var(--elvang-brun);
}

.lp-hero-left {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp-hero-left h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.lp-hero-left p {
    font-size: 16px;
    font-style: italic;
}

.lp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STORY SECTION */
.lp-story {
    max-width: 900px;
    margin: 0 auto 70px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--elvang-brun);
    border: 1px solid var(--elvang-brun);
}

.lp-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-story-text {
    padding: 40px;
    line-height: 1.6;
    font-size: 15px;
}

/* FOOTER */
.lp-footer {
    background: var(--elvang-brun);
    padding: 40px 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    border-top: 2px solid #d2cbbf;
    min-height: calc(10vh - 15px);
}

.lp-footer-col h4 {
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.lp-footer-col p {
    margin: 6px 0;
    color: var(--text-mid);
    cursor: pointer;
}

.lp-footer-col p:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .lp-hero,
    .lp-story {
        grid-template-columns: 1fr;
    }

    .lp-header {
        padding: 20px 30px;
    }

    .lp-footer {
        grid-template-columns: 1fr 1fr;
    }
}

/*search BAR*/

.search-wrapper {

    position: relative;
}

.search-bar {
    width: 800px;
    padding: 10px 14px;

    border: 1px solid #ccc;
    border-radius: 8px;

    font-size: 16px;

    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar:focus {
    border-color: var(--elvang-brun);
    box-shadow: 0 0 7px var(--elvang-hvid);
}

.search-results {

    position: absolute; /* <--- THIS MAKES IT FLOAT */
    top: 100%; /* below the input */
    left: 0;
    width: 100%;
    max-width: 790px;
    max-height: 300px; /* enough for ~5 items */
    overflow-y: auto; /* enable scroll */

    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;
    cursor: pointer;

    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:hover {
    background: #f7f7f7;
}

/* Product image */
.result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    background: #ddd;
}

/* Info container */
.result-info {
    display: flex;
    flex-direction: column;
}

/* Product name */
.result-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

/* Price */
.result-price {
    font-size: 13px;
    font-weight: 600;
    color: #4a90e2;
}

/* SKU */
.result-sku {
    font-size: 12px;
    color: #666;
}

/* HEADER */
.db-wrapper {
    font-family: "Inter", sans-serif;
    color: var(--text-dark);
    background: var(--elvang-hvid);
}


/* HEADER */
.db-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    font-size: 20px;
    background: var(--elvang-brun);
}


.dm-suggestions {
    position: absolute;
    top: 100%; /* directly below the input */
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;

    background: white;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}


.dm-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;
    cursor: pointer;

    border-bottom: 1px solid #f0f0f0;
}


.dm-suggestion-item:hover {
    background: #f0f4ff;
}

.dm-fields-container {
    flex: 1;

}

.dm-product-row {
    border-radius: 2px;
    border-bottom: 1px solid #b8b8b8;
    margin-bottom: 15px;

}

.logout-btn {
    background: #f5f5f5;
    color: #444;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.logout-btn:active {
    background: #e8e8e8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
}

.logout-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}
.product-list-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.product-grid {
    display: flex;
    flex-direction: column; /* stack items vertically */
    gap: 12px; /* space between items */
    margin-top: 20px;
}

.product-card {
    display: flex; /* horizontal layout */
    align-items: center;
    gap: 16px; /* space between image and info */
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.product-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.product-meta {
    font-size: 13px;
    color: #666;
}

/* ---------- YDRE RAMME ---------- */

.pm-form {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #E0DACF;                 /* beige baggrund */
    border-radius: 8px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1.05fr 1.4fr;  /* venstre: billede, højre: felter */
    grid-template-rows: auto repeat(5, 1fr) auto;
    grid-template-areas:
        "header header"
        "image  name"
        "image  sku"
        "image  price"
        "image  desc"
        "image  warehouseLabel"
        "image  warehouse";
    gap: 12px;
}

.pm-title {
    grid-area: header;
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

/* ---------- BILLEDE (VENSTRE SIDE) ---------- */

.pm-image-field {
    grid-area: image;
    background: #FCFAF6;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pm-image-label {
    font-size: 1.1rem;
    font-weight: 500;
}

.pm-image-wrapper {
    flex: 1;
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 3 / 4;
    background: #ffffff;
    border: 1px solid #d1c7b6;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.pm-image-placeholder {
    background: #FCFAF6;
}

/* ---------- FELT-RÆKKER (HØJRE SIDE) ---------- */

/* Placér de enkelte pm-field i de rigtige grid-områder
   OBS: nth-of-type tæller DIVs direkte inde i .pm-form */

.pm-form > .pm-field:nth-of-type(1) { /* pm-image-field – har egen grid-area via class */
    /* ingen ekstra */
}

.pm-form > .pm-field:nth-of-type(2) {
    grid-area: name;
}

.pm-form > .pm-field:nth-of-type(3) {
    grid-area: sku;
}

.pm-form > .pm-field:nth-of-type(4) {
    grid-area: price;
}

.pm-form > .pm-field:nth-of-type(5) {
    grid-area: desc;
}

/* generel “boks”-stil for felterne på højre side */
.pm-field:not(.pm-image-field) {
    background: #FCFAF6;;
    border-radius: 8px;
    border: 1px solid #d1cfc3;
    padding: 0.45rem 0.75rem;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pm-label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* inputs inde i felterne */

.pm-name,
.pm-sku,
.pm-price,
.pm-description {
    box-sizing: border-box;
    width: 100%;
    border: none;
    background: #FCFAF6;
    border-radius: 2px;
    padding: 0.35rem 0.45rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    outline: none;
}

.pm-name:focus,
.pm-sku:focus,
.pm-price:focus,
.pm-description:focus {
    box-shadow: 0 0 0 2px rgba(179, 165, 143, 0.35);
}

/* ---------- WAREHOUSE-LABEL + LISTE NEDERST ---------- */

.pm-warehouse-label {
    grid-area: warehouseLabel;
    text-align: center;
    align-self: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b463d;
}

.pm-warehouse-wrapper {
    grid-area: warehouse;
    background: #FCFAF6;
    border-radius: 8px;
    border: 1px solid #d6cfc3;
    padding: 0.75rem 1rem;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pm-warehouse-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pm-warehouse-item-name {
    flex: 1;
    font-size: 0.9rem;
    color: #4b463d;
}

.pm-warehouse-item-quantity {
    box-sizing: border-box;
    width: 80px;
    padding: 0.35rem 0.5rem;
    border-radius: 2px;

    border: 1px solid #d1c7b6;
    background: #ffffff;
    font-size: 0.9rem;
    text-align: left;
    outline: none;
}

.pm-warehouse-item-quantity:focus {
    box-shadow: 0 0 0 2px rgba(179, 165, 143, 0.35);
}

/* ---------- RESPONSIV (MOBIL) ---------- */

@media (max-width: 768px) {
    .pm-form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "image"
            "name"
            "sku"
            "price"
            "desc"
            "warehouseLabel"
            "warehouse";
    }

    .pm-image-field {
        grid-row: auto;
    }
}


.m-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px; /* så scroll trigger ved små skærme */
}

.m-table th, .m-table td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}

.m-table th {
    background-color: #f2f2f2;
}
/* ----------------- USER MODULE ----------------- */
.um-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    padding: 32px;
    max-width: 1000px;
    margin: 40px auto;
    font-family: "Inter", system-ui, sans-serif;
}

.um-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.um-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* ---------------- CREATE USER FORM ---------------- */
.um-form {
    flex: 1;
    min-width: 300px;
    background: #fafafa;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.um-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.um-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.um-input, .um-select {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: 0.25s border, 0.25s background, 0.25s box-shadow;
}

.um-input:hover, .um-select:hover {
    background: #fff;
}

.um-input:focus, .um-select:focus {
    border-color: #4b91ff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75,145,255,0.15);
}

.um-submit {
    margin-top: 15px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d8c9b6, #a8957a);
    color: #333;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.25s;
}

.um-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(184, 164, 139, 0.35);
}

/* ---------------- USER LIST ---------------- */
.um-list-wrapper {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #dcdcdc;
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.um-user-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    transition: 0.25s;
}

.um-user-card:hover {
    background: #f7f7f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.um-user-info {
    display: flex;
    flex-direction: column;
}

.um-user-name {
    font-weight: 600;
    font-size: 16px;
}

.um-user-role {
    font-size: 13px;
    color: #666;
}

.um-delete-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.um-delete-btn:hover {
    background: #ff4b4b;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 800px) {
    .um-content {
        flex-direction: column;
    }
}
/* Container for all notifications */
#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* allows clicks to pass through when needed */
}

/* Individual notification box */
.notification {
    min-width: 250px;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-family: sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

/* Show notification */
.notification.show {
    opacity: 0.95;
    transform: translateY(0);
}

/* Notification types */
.notification.success {
    background-color: #38a169; /* green */
}

.notification.error {
    background-color: #e53e3e; /* red */
}

.notification.info {
    background-color: #3182ce; /* blue */
}

.pm-form {
    position: relative;
}

/* Delete-knap placeret helt fast i øverste venstre hjørne */
.pm-delete-btn {
    position: absolute;
    top: 12px;
    left: 12px;

    padding: 6px 12px;
    border: none;
    border-radius: 8px;

    background-color: #FCFAF6;
    color: black;
    font-weight: 600;
    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.pm-delete-btn:hover {
    background-color: #E0DACF;
    transform: translateY(-1px);
}

.pm-delete-btn:active {
    transform: scale(0.97);
}

.pm-delete-btn[aria-busy="true"] {
    opacity: 0.7;
    cursor: wait;
}
