@font-face{
    font-family:'DIN';
    src:url('fonts/din.ttf') format('truetype');
}


/* =========================
   FONTS
========================= */

.company_name,
.recruit_company,
.status{
    font-family:'DIN', Arial, sans-serif !important;
    font-weight:400;
}


/* =========================
   BODY
========================= */

body{
    margin:0;
    padding:0;
    font-family:Arial,sans-serif;
    background:#f5f5f5;
}


/* =========================
   PERMIT
========================= */

.permit{
    position:relative;
    width:100%;
    max-width:430px;
    margin:0 auto;
}

.bg{
    width:100%;
    height:auto;
    display:block;
}


/* =========================
   GENERAL TEXT
========================= */

.employee_name,
.issue_date,
.expiry_date,
.company_name,
.company_number,
.recruit_company,
.recruit_number{
    position:absolute;
    color:#111;
    font-weight:500;
}


/* =========================
   EMPLOYEE NAME
   RIGHT ALIGNED
========================= */

.employee_name{
    top:18.22%;
    right:11%;
    width:38%;

    font-family:Calibri,Arial,sans-serif;
    font-size:16px;
    font-weight:500;
    text-transform:uppercase;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   STATUS
========================= */

.status{
    position:absolute;

    top:23.5%;
    right:11.2%;

    background:#18c37a;
    color:#fff;

    padding:6px 15px;
    border-radius:7px;

    font-family:'DIN';
    font-size:14px;

    text-align:center;
    white-space:nowrap;
}


/* =========================
   ISSUE DATE
   ORIGINAL POSITION
========================= */

.issue_date{
    top:30.1%;
    left:49%;
    width:40%;

    font-family:Arial,sans-serif;
    font-size:14px;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   EXPIRY DATE
   ORIGINAL POSITION
========================= */

.expiry_date{
    top:34.7%;
    left:49%;
    width:40%;

    font-family:Arial,sans-serif;
    font-size:14px;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   BENEFICIARY COMPANY NAME
   RIGHT ALIGNED
========================= */

.company_name{
    top:47.3%;
    right:11%;
    width:41%;

    font-family:'DIN',Arial,sans-serif;
    font-size:14px;
    font-weight:500;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   BENEFICIARY NUMBER
   ORIGINAL POSITION
========================= */

.company_number{
    top:52.2%;
    left:47.6%;
    width:41%;

    font-family:Arial,sans-serif;
    font-size:14px;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   RECRUIT COMPANY NAME
   RIGHT ALIGNED
========================= */

.recruit_company{
    top:64.8%;
    right:10.9%;
    width:41%;

    font-family:'DIN',Arial,sans-serif;
    font-size:14px;
    font-weight:500;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   RECRUIT NUMBER
   ORIGINAL POSITION
========================= */

.recruit_number{
    top:69.7%;
    left:47.6%;
    width:41%;

    font-family:Arial,sans-serif;
    font-size:14px;

    text-align:right;
    white-space:nowrap;
}


/* =========================
   MOBILE
========================= */

@media(max-width:430px){

    .permit{
        max-width:100%;
    }

}


/* =========================
   TOP NOTIFICATION
========================= */

.toast{
    position:fixed;
    top:-150px;
    left:50%;
    transform:translateX(-50%);

    width:90%;
    max-width:420px;
    height:76px;

    background:#fff;
    border-radius:14px;

    box-shadow:0 8px 25px rgba(0,0,0,.18);

    z-index:99999;

    transition:top .4s ease;

    direction:ltr;
}

.toast.show{
    top:20px;
}


/* =========================
   GREEN CHECK - LEFT
========================= */

.toast-icon{
    position:absolute;
    left:18px;
    top:50%;

    transform:translateY(-50%);

    width:42px;
    height:42px;

    border-radius:50%;

    background:#2ecc71;
    color:#fff;

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

    font-size:25px;
    font-weight:bold;
}


/* =========================
   NOTIFICATION TEXT
========================= */

.toast-text{
    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    font-family:'DIN',Arial,sans-serif;
    font-size:22px;

    color:#333;

    white-space:nowrap;
    direction:rtl;
}


/* =========================
   X - RIGHT INSIDE BOX
========================= */

.toast-close{
    position:absolute;

    right:18px;
    top:50%;

    transform:translateY(-50%);

    font-family:Arial,sans-serif;
    font-size:32px;
    font-weight:bold;

    color:#9aa0a6;

    cursor:pointer;

    display:block;
}


/* =========================
   FLOATING QUESTION BUTTON
========================= */

.floating-btn{
    position:fixed;

    left:20px;
    bottom:20px;

    width:72px;
    height:72px;

    background:#1f4fa8;
    border-radius:50%;

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

    font-family:Arial,sans-serif;
    font-size:52px;
    font-weight:bold;

    color:#fff;
    line-height:1;

    box-shadow:0 8px 20px rgba(0,0,0,.35);

    z-index:9999;

    cursor:default;
    user-select:none;
}


/* =========================
   COPY LINK BUTTON
========================= */

#copyBtn{
    width:88%;

    padding:12px 0;

    margin-top:17px;
    margin-bottom:10px;

    background:#1f4fa8;
    color:#fff;

    border:none;
    border-radius:10px;

    font-size:18px;
    cursor:pointer;

    position:relative;
    top:-370px;
}