
.automations .kn-search {
    border: 0;
    padding: 0;
}

.automations .kn-header-left {
    padding: 5px 8px 5px 14px;
}


.am-integration-logo {
    max-height: 30px;
}

.am-body-text {
    font-size: 15px;
    color: #000;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
}

.am-learn-more {
    display: flex;
    padding: 5px 10px;
    align-items: center;
    gap: 5px;
    border-radius: var(--kn-radius-xl);
    background: var(--kn-primary-light);
    color: var(--kn-text);
    font-family: var(--kn-font-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    width: max-content;
    text-decoration: none;
}


.automations .am-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    overflow: auto;
    align-content: start;
}

.automations .am-card {
    flex: 1 1 calc(25% - 12px);
    max-width: calc(25% - 12px);
    background: #fff;
    border-radius: var(--kn-radius-md);
    overflow: hidden;
    gap: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.automations .am-card-header {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #EEEDEB;
}

.automations .am-card-logo img {
    max-height: 30px;
    max-width: 155px;
}

.automations .am-card-body {
    color: var(--kn-text);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 134%;
    padding: 16px;
}

.automations .am-line-clamp {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.automations .am-card-footer {
    padding: 16px;
    padding-top: 0;
}

.automations .btn-waitlist {
    background: #F2F2EF !important;
    color: var(--kn-disabled) !important;
    border: none !important;
}

.automations .btn-request-access {
    background: #DCF3EB !important;
    color: var(--kn-text) !important;
    border: none !important;
}

.automations .connected-btn {
    display: flex;
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6.5px;
    background: var(--kn-primary-light);
    color: #095055;
    text-align: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.385px;
    text-transform: uppercase;
    outline: none;
    border: none;
    width: max-content;
    cursor: default;
}

.automations button {
    text-transform: unset;
}

@media (max-width: 1279px) {
    .automations .am-card {
        flex: 1 1 calc(33.33% - 11px);
        max-width: calc(33.33% - 11px);
    }
}

@media (max-width: 1023px) {
    .automations .am-card {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
  

    .automations #suggestIntegrationBtn {
        width: 100%;
    }

    .automations .am-cards-container .am-card:last-child {
        margin-bottom: 60px;
    }

    .automations .am-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .automations .custom-modal .modal-footer {
        flex-direction: column;
    }

    .automations .custom-modal .modal-footer.disconnect-btn {
        flex-direction: column-reverse;
    }

    .automations .custom-modal .modal-footer .left-btn-cont {
        display: flex;
    }

    .automations .custom-modal .modal-footer .left-btn-cont button {
        flex: 1;
    }

    .automations .custom-modal .modal-footer .right-btn-cont {
        display: flex;
        flex-direction: column;
    }
}