@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.buildecom-admin {
    --black: #000;
    --light-black: #555;
    --white: #fff;
    --white-light: #f7f8fa;
    --border: #5b6e8824;
    --base: #525eeb;
    --base-dark: #444fcd;
    --success: #28a745;
    --success-dark: #379237;
    --secondary: #394867;
    --secondary-dark: #212A3E;
    --danger: #F45050;
    --danger-dark: #DF2E38;
    --warning: #F79F1F;
    --warning-dark: #f0932b;
    --info: #487eb0;
    --info-dark: #40739e;
    --dark: #1e272e;
    --wp-sidebar: #1d2327;
    --radius: 10px;
}

.buildecom-container {
    font-family: "Montserrat", sans-serif;
}

.buildecom-container-title {
    font-weight: 500;
}

.tablenav.top {
    margin-bottom: 1rem;
}

#sortable-statuses {
    padding-left: 0;
}

.ui-state-default.status-state {
    touch-action: none;
    padding: 10px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
    background-color: #2271b1;
    margin-bottom: 0.8rem;
}

.buildecom-form-container {
    min-width: 100%;
    margin-top: 2rem;
}

.buildecom-form-card {
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    min-width: 100%;
    border-radius: 8px;
}

/** Button styles */

.btn.btn-primary {
    background-color: #2C69E7;
    box-shadow: 0 0 0;
}

.btn:hover {
    transition: 0.3s ease;
    opacity: 0.8;
}

/** /end Button styles */

/** Input styles */
.form-control {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    outline: none;
    display: block;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    appearance: none;
    background-color: #fff;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    letter-spacing: 0.025em;
}

.form-label {
    font-weight: 600;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 1px #2C69E7 !important;
    border-color: transparent;
}

@media (min-width: 640px) {
    .form-control {
        font-size: 0.875rem;
    }
}

/** /end Input styles */
.buildecom-custom-checkbox .check {
    stroke-dashoffset: 0 !important;
}

.buildecom-custom-checkbox {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
}

.buildecom-custom-checkbox .background {
    fill: #ccc;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.buildecom-custom-checkbox .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.buildecom-custom-checkbox .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.buildecom-custom-checkbox input[type=checkbox] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    -appearance: none;
    -webkit-appearance: none;
}

.buildecom-custom-checkbox input[type=checkbox]:hover {
    cursor: pointer;
}

.buildecom-custom-checkbox input[type=checkbox]:checked+svg .background {
    fill: #6cbe45;
}

.buildecom-custom-checkbox input[type=checkbox]:checked+svg .stroke {
    stroke-dashoffset: 0;
}

.buildecom-custom-checkbox input[type=checkbox]:checked+svg .check {
    stroke-dashoffset: 0;
}

.buildecom-table-card {
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 5px;
    min-width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
}

.buildecom-table-card th {
    background-color: #f2f3f7 !important;
    font-weight: 500;
}

.buildecom-admin .short-codes {
    position: relative;
}

.buildecom-admin .short-codes::before {
    content: 'Copy';
    position: absolute;
    height: 0%;
    width: 100%;
    background: var(--base);
    overflow: hidden;
    color: var(--white);
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
}

.buildecom-admin .short-codes:hover::before {
    height: 114%;
}

.buildecom-admin .short-codes.copied:before {
    content: 'Copied'
}

.buildecom-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.buildecom-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buildecom-card h2 {
    font-size: 16px;
    margin: 0 0 10px;
    color: #555;
}

.buildecom-card .count {
    font-size: 36px;
    font-weight: bold;
    color: #0073aa;
    margin: 10px 0;
}

.buildecom-card .dashicons {
    font-size: 32px;
    color: #0073aa;
    margin-bottom: 10px;
}

.buildecom-card a.button {
    align-self: flex-start;
}