@font-face {
    font-family: Urbanist;
    src: url('../../fonts/Urbanist-Regular.ttf');
    font-weight: 400;
}

#affwp-affiliate-dashboard-url-generator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 60px;
}
#affwp-affiliate-dashboard-url-generator .url-generator-wrap {
    max-width: 426px;
}
#affwp-affiliate-dashboard-url-generator .url-generator-wrap h2 {
    color: #000;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info p {
    margin: 0;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info .item-info-title{
    color: #49454F;
    font-weight: 500;
    font-size: 12px;
    font-family: Montserrat, serif;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info .item-info-title {
    color: #49454F;
    font-weight: 500;
    font-size: 12px;
    font-family: Montserrat, serif;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info .item-info-content {
    color: #171717;
    font-size: 16px;
    font-weight: 350;
    font-family: Gravity, serif;
    margin-top: 10px;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info {
    margin-bottom: 20px;
}
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator h4 {
    color: #000;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
}
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator {
    background: transparent;
    border: unset;
    padding: 0;
    position: relative;
    top: 55px;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info .item-info-content.affiliate-url {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
#affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info .item-info-content.affiliate-url span {
    cursor: pointer;
}
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator p:nth-of-type(1) {
    color: #000;
    font-weight: 400;
    font-size: 14px;
    font-family: Montserrat, serif;
}
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator label[for="affwp-campaign"],
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator label[for="affwp-url"] {
    color: #49454F;
    font-weight: 500;
    font-size: 12px;
    font-family: Montserrat, serif;
    position: absolute;
    top: -9px;
    left: 16px;
    background: white;
    padding: 0 4px;
}
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator #affwp-campaign,
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator #affwp-url {
    height: 56px;
    border: 1px solid #79747E;
    padding: 4px 18px;
    font-size: 16px;
    font-weight: 350;
    font-family: Gravity, serif;
}
#affwp-affiliate-dashboard-url-generator #affwp-custom-link-generator .affwp-base-url-wrap {
    position: relative;
}
#affwp-affiliate-dashboard-url-generator .affwp-generator-campaign-text-link-wrap a {
    color: #000;
    font-weight: 350;
    font-size: 16px;
    text-decoration: unset;
    font-family: Gravity;
}
#affwp-affiliate-dashboard-url-generator .affwp-generator-campaign-text-link-wrap a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><path d="M13.4141 23.3337V14.5837H4.66406V13.417H13.4141V4.66699H14.5807V13.417H23.3307V14.5837H14.5807V23.3337H13.4141Z" fill="black"/></svg>');
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

#affwp-affiliate-dashboard-url-generator #affwp-generator-submit-btn {
    background: #000;
    color: white;
    width: 100%;
    height: 46px;
    font-weight: 500;
    font-size: 16px;
    font-family: Montserrat;
    text-transform: uppercase;
}
#affwp-affiliate-dashboard-url-generator .affwp-campaign-wrap {
    position: relative;
}
#affwp-affiliate-dashboard-url-generator:has(#affwp-custom-links-table) .affwp-custom-link-generator {
    margin-bottom: 100px;
}
#affwp-custom-links-table {
    min-width: 900px;
    margin-left: -240px;
}
#affwp-custom-links-table th {
    background: unset;
    border: unset;
    padding: 15px 0;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.87);
}
#affwp-custom-links-table td {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-left: unset;
    border-right: unset;
    padding: 18px 0;
    font-family: Gravity, serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
}
#affwp-custom-links-table th:last-child,
#affwp-custom-links-table td:last-child {
    text-align: right;
    width: 120px;
}

@media (max-width: 850px) {
    #affwp-affiliate-dashboard-url-generator .table-affiliate-info .item-info:last-child {
        margin-top: 40px;
    }
    #affwp-custom-links-table {
        margin-left: 0 !important;
        min-width: unset;
        width: 100%;
    }
    #affwp-affiliate-dashboard-url-generator .url-generator-wrap h2 {
        font-family: Urbanist !important;
        color: #000;
        font-weight: 400 !important;
        font-size: 24px !important;
        text-align: left !important;
        margin-bottom: 30px !important;
    }
    .page-header {
        margin-bottom: -10px !important;
    }
}
