/**
 * Copyright (C) 2020-present Darko Gjorgjijoski <https://darkog.com>
 * Copyright (C) 2020-present IDEOLOGIX MEDIA DOOEL <https://ideologix.com>
 * All Rights Reserved.
 * Licensed under GPLv3.
 */

.dlm-list-inline {
    display: block;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.dlm-list-inline li {
    display: inline-block;
}

.dlm-inline-child .dlm-status {
    display: inline-block !important;
}

.dlm-list-inline-mb-0 {
    margin-bottom: 0 !important;
}

/** Buttons */
.dlm-button {
    width: auto;
    height: auto;
    padding: 10px 12px;
    line-height: 1;
    border-radius: 3px;
}

/** My Account **/

/** Micromodal related */
.micromodal-slide form .dlm-form-row:last-child {
    margin-bottom: 0;
}

.micromodal-slide form .dlm-form-row {
    margin-bottom: 20px;
}

.micromodal-slide form .dlm-form-row label {
    display: block;
    font-size: 16px;
    font-weight: bold;
}

.micromodal-slide .modal__title {
    font-size: 25px;
}

.micromodal-slide .dlm-form-row input[type=text] {
    width: 100%;
}

.micromodal-slide .button-primary {
    background: var(--color-success);
    color: #fff;
}

.micromodal-slide form {
    margin-bottom: 0;
}

.dlm-myaccount-license-key {
    display: inline-block;
}

.dlm-myaccount-license-key > .dlm-myaccount-license-key-action:hover {
    background-image: linear-gradient(to right, #6fd4a1, #36be6c);
    color: #ffffff;
}

.dlm-myaccount-license-key > .dlm-myaccount-license-key-action {
    font-family: Consolas, monospace;
    font-size: 13px;
    background-image: linear-gradient(to right, #f0f0f0, #f9f9f9);
    padding: 2px 7px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none !important;
}

.dlm-clipboard {
    font-family: Consolas, monospace;
    background-color: #f0f0f0;
    color: #334;
    padding: 7px 14px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 3px;
    opacity: 1;
    -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .1);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, .1);
    -webkit-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.dlm-form {
    width: 100%;
}

.dlm-form .dlm-form-row {
    width: 100%;
    margin-bottom: 10px;
}

.dlm-form .dlm-form-row label,
.dlm-form .dlm-form-row input[type=text],
.dlm-form .dlm-form-row input[type=email],
.dlm-form .dlm-form-row input[type=password] {
    display: block;
    width: 100%;
}

/**
Licenses
 */
.dlm-myaccount-product-licenses .dlm-myaccount-product-licenses--row {
    margin-bottom: 36px;
}

.dlm-myaccount-product-licenses .dlm-myaccount-product-licenses--row .dlm-myaccount-page-subtitle {
    margin-bottom: 18px;
}

/** Sections */
.dlm-myaccount-license-section {
    margin-bottom: 32px;
}
.dlm-myaccount-license-section--content {
    margin-bottom: 18px;
}
.dlm-myaccount-license-section--header {
    margin-bottom: 12px;
}
.dlm-myaccount-license-section--header h3, .dlm-myaccount-license-section--header button {
    display: inline-block;
    width: auto;
}
.dlm-myaccount-license-section--header .dlm-button {
    float: right;
}

/** Statuses */
@media (max-width: 767px) {
    .shop_table_responsive .dlm-license-status.dlm-license-status--full {
        display: inline-block;
        min-width: 120px;
        width: auto;
    }
    .shop_table_responsive .dlm-myaccount-table-row-actions {
        display: inline-flex;
        width: auto;
    }
    .shop_table_responsive .dlm-status-inline {
        display: inline-flex
    }
}

.dlm-myaccount-table-row--status .dlm-license-status--inline {
    min-width: 150px;
}

/**
Certificates
 */
#dlm-license-certificate-download .dlm-button {
    min-width: 150px;
    font-weight: normal;
    font-size: 15px;
}

/**
Tables Row actions
 */
.dlm-myaccount-table-row-actions {
    display: flex;
    width: 100%;
    gap: 3px;
}
.dlm-myaccount-table-row-actions .dlm-myaccount-table-row-actions--button {
    font-weight: normal;
    font-size: 15px;
    padding: 8px 10px;
}
