
:root {
    --primary: #0B5D51;
    --primary-light: #16786F;
    --accent: #D97706;
    --bg-body: #F7F9FC;
    --bg-modal: #FFFFFF;
    --bg-card: #F0F4F8;
    --bg-card-hover: #E6EEF5;
    --text-heading: #122926;
    --text-problem: #2D3748;
    --text-solution: #0B5D51;
    --text-muted: #718096;
    --border-card: #DDE6EF;
    --overlay: rgba(18, 41, 38, 0.60);
    --shadow-modal: 0 18px 45px rgba(18, 41, 38, 0.22);
    --shadow-card: 0 4px 14px rgba(11, 93, 81, 0.08);
    --shadow-card-hover: 0 8px 24px rgba(11, 93, 81, 0.18);
}

.fk-supply-modal {
    position: fixed;
    inset: 0;
    background-color: var(--overlay);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
}

.fk-supply-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.fk-supply-modal__box {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-modal);
    border-radius: 22px;
    padding: 28px 22px;
    position: relative;
    box-shadow: var(--shadow-modal);
    transform: translateZ(0);
}

.fk-supply-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: transparent;
    line-height: 1;
    padding: 10px;
    margin: -10px;
    border-radius: 50%;
    transition: background 0.24s ease, color 0.24s ease;
}

.fk-supply-modal__close:hover {
    background-color: var(--bg-card);
    color: var(--text-heading);
}

.fk-supply-modal__header {
    text-align: center;
    margin-bottom: 24px;
}

.fk-supply-modal__header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}

.fk-supply-modal__header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.fk-supply-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.fk-supply-modal__card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 22px 16px;
    text-align: center;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.fk-supply-modal__card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card-hover);
}

.fk-supply-modal__card img {
    width: 88px;
    height: 88px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 12px;
}

.fk-supply-modal__card p {
    margin: 0;
    line-height: 1.45;
}

.fk-supply-modal__card p .issue {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-problem);
}

.fk-supply-modal__card p .solve {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-solution);
    margin-top: 6px;
}

.fk-supply-modal__bottom {
    text-align: center;
    margin-bottom: 20px;
}

.fk-supply-modal__bottom h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0 0 8px;
}

.fk-supply-modal__btn-wrap {
    text-align: center;
}

.fk-supply-modal__btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    padding: 12px 34px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.fk-supply-modal__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11, 93, 81, 0.35);
}
