@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
/* Class names prefixes */
$prefix: 'gjs-' !default;
/* Main color */
$mainColor: #34A853;



:root {
    --border-color: rgba(0, 0, 0, 0.15);
    --background-color: #3c4a49;

    --background-box-title: #263332;
}

.app {
    margin: 20px;
    margin-top: 30px;
    animation: fadein .3s;

    a {
        text-decoration: none;
        color: $mainColor;
    }

    h1 {
        margin-bottom: 30px;
    }

    h2 {
        color: $mainColor;
    }

    button {
        cursor: pointer;
        background-color: #424242;
        font-family: inherit;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        border: 1px solid #e9ebeb;
        border-bottom-color: #e1e3e3;
        border-radius: 4px;
        background-color: #fff;
        color: rgba(14, 30, 37, .87);
        box-shadow: 0 2px 4px 0 rgba(14, 30, 37, .12);
        transition: all .2s ease;
        transition-property: background-color, color, border, box-shadow;
        outline: 0;
        font-weight: 500;
        background: $mainColor;
        color: #fff;
        border-color: transparent;
    }

    .table {
        background: rgb(49, 47, 47);
        width: 100%;
        /* Ensures the table takes full width */
        border-collapse: collapse;
    }
}

.primary-button {
    padding: 13px 18px;

    &:hover {
        background: #73308d;
    }
}

#fileInput {
    display: none;
    /* Hide default file input */
  }

  .custom-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }

  .custom-button:hover {
    background-color: #0056b3;
  }

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    button {
        height: 45px;
    }
}

.tm-input {
    border-radius: 2px;
    font-size: 16px;
    padding: 11px 15px;
    min-width: 300px;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(120, 130, 152, .25);
    border: none;
    outline: none;
    transition: all .3s ease;
    margin: 20px 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);

    &:active,
    &:focus,
    &:hover {
        box-shadow: 0 0 0 2px $mainColor;
    }

    &.sm {
        width: 100%;
        min-width: 0;
        font-size: 12px;
        margin: 10px 0;
        padding: 8px 10px;
    }

    &.bm {
        width: 100%;
        min-width: 0;
        font-size: 12px;
        margin: 10px 0;
        padding: 8px 10px;
    }
}

.header {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px !important;
}

.item {
    text-align: center;
}

.project-text {
    float: left;
}

.project {
    padding: 10px;
}


.p-delete {
    opacity: .5;
    float: right;
    background-color: rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .2);
    height: 17px;
    width: 17px;
    text-align: center;
    border-radius: 3px;
}

#site-list {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.site-wrapper,
.site-wrapper-header {
    display: flex;
    align-items: center;
    padding: 10px 0;
    padding-left: 20px;
    font-size: 14px;
    transition: .3s;
    color: #fff;
}

.site-wrapper-header .header {
    color: white;
  }

.site-wrapper.selected, .project {
    border: 2px solid $mainColor;
}

.site-wrapper.open,
.site-wrapper:nth-child(even).open {
    background-color: rgba(147, 106, 155, .2);
}

.site-wrapper-header {
    padding-left: 15px;
    border-bottom: 2px solid rgba(14, 30, 37, .2);
}

.site-wrapper:hover,
.site-wrapper:nth-child(even):hover {
    background: rgba(255, 255, 255, .1);
}

.site-wrapper-header,
.site-wrapper:nth-child(even) {
    background-color: rgba(0, 0, 0, .1);
}

.site-screenshot,
.site-screenshot-header {
    height: 64px;
    margin: 0 5px 0 0;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.site-screenshot-header {
    height: 30px;
}

.site-screenshot:before {
    background: #dadcdd;
    bottom: 0;
    content: " ";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.site-screenshot a {
    display: block;
    position: relative;
    z-index: 9;
    height: 100%;
}

.site-screenshot img {
    position: relative;
    width: 100%;
    width: 102.4px;
    border: none;
}

.site-screenshot img[alt]:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dadcdd;
    font-weight: 300;
    line-height: 2;
    text-align: center;
    content: '';
}

.site-info {
    min-width: 240px;
    max-width: 250px;

    h2 {
        margin: 0px;
        margin-bottom: 5px;
    }

    a {
        text-decoration: none;
    }
}

.site-meta a {
    font-size: 14px;
    color: rgba(165, 210, 230, 0.8);
}

.site-update-time {
    min-width: 150px;
}

.site-create-time {
    min-width: 130px;
}

.site-pages,
.site-size {
    min-width: 80px;
}

.site-actions {
    min-width: 200px;

    i {
        color: $mainColor;
        background-color: rgba(0, 0, 0, 0.1);
        border: 1px solid $mainColor;
        border-radius: 2px;
        padding: 5px;
        cursor: pointer;

        &:hover {
            background-color: $mainColor;
            color: white;
        }
    }
}

.#{$prefix}templates-overlay {
    position: absolute;
    pointer-events: none;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
}

.#{$prefix}mdl-dialog-tml {
    max-width: 1000px;
    margin-top: 45px;
}

.#{$prefix}mdl-dialog-md {
    max-width: 400px;
    margin-top: 45px;
}

.#{$prefix}tip-about {
    padding: 10px;
    font-size: .9rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 3px solid $mainColor;
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.#{$prefix}tab {
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;

    button {
        background-color: inherit;
        color: inherit;
        float: left;
        border: 1px solid rgba(0, 0, 0, 0.1);
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: .3s;

        &:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        &.active {
            background-color: rgba(0, 0, 0, 0.2);
        }
    }
}

.pages-wrp,
.pages{
    display: flex;
    flex-direction: column;
}

.pages-wrp {
    padding: 5px;
}

.pages-title {
    padding: 5px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.add-page {
    background: $mainColor;
    color: white;
    font-size: 12px;
    padding: 8px 5px;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 10px;
}

.add-template {
    background: black;
    color: white;
    font-size: 12px;
    padding: 8px 5px;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 10px;
}

.add-title {
    background: black;
    color: white;
    font-size: 12px;
    padding: 8px 5px;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 40px;
}


.add-project {
    background: rgb(5, 125, 237);
    color: white;
    font-size: 12px;
    padding: 10px;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 10px;
    margin-top: 10px;
}

.page {
    font-size: 12px;
    text-align: left;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, .2);
    box-shadow: 0 1px 0 0 rgb(0, 0, 0, .15);
    transition: all .2s ease 0s;
    transition-property: box-shadow, color;
    cursor: pointer;

    &:hover {
        color: $mainColor;
        box-shadow: 0 3px 4px 0 rgb(0, 0, 0, .15);
    }

    &.selected {
        color: $mainColor;
        border: 1px solid $mainColor;
        background-color: rgba(0, 0, 0, .1);
    }
}

.page-edit,
.page-close {
    opacity: .5;
    float: right;
    background-color: rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .2);
    height: 17px;
    width: 17px;
    text-align: center;
    border-radius: 3px;

    &:hover {
        opacity: 1;
    }
}

.page-edit {
    margin-right: 5px;
}

.group {
    margin-bottom: 15px;

    input {
        padding: 0;
        height: initial;
        width: initial;
        margin-bottom: 0;
        display: none;
        cursor: pointer;

        &:checked+label:after {
            content: '';
            display: block;
            position: absolute;
            top: 2px;
            left: 9px;
            width: 6px;
            height: 14px;
            border: solid $mainColor;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
    }

    label {
        position: relative;
        cursor: pointer;

        &:before {
            content: '';
            -webkit-appearance: none;
            background-color: transparent;
            border: 2px solid $mainColor;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
            padding: 10px;
            display: inline-block;
            position: relative;
            vertical-align: middle;
            cursor: pointer;
            margin-right: 5px;
        }
    }
}

.formbold-mb-5 {
    margin-bottom: 20px;
  }
  .formbold-pt-3 {
    padding-top: 12px;
  }
  .formbold-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
  }

  .formbold-form-wrapper {
    margin: 0 auto;
    max-width: 550px;
    width: 100%;
    background: white;
  }
  .formbold-form-label {
    display: block;
    font-weight: 500;
    font-size: 16px;
    color: #07074d;
    margin-bottom: 12px;
  }
  .formbold-form-label-2 {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .formbold-form-input {
    width: 100%;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: white;
    font-weight: 500;
    font-size: 16px;
    color: #6b7280;
    outline: none;
    resize: none;
  }
  .formbold-form-input:focus {
    border-color: #6a64f1;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }

  .formbold-btn {
    text-align: center;
    font-size: 16px;
    border-radius: 6px;
    padding: 14px 32px;
    border: none;
    font-weight: 600;
    background-color: #6a64f1;
    color: white;
    cursor: pointer;
  }
  .formbold-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }

  .formbold--mx-3 {
    margin-left: -12px;
    margin-right: -12px;
  }
  .formbold-px-3 {
    padding-left: 12px;
    padding-right: 12px;
  }
  .flex {
    display: flex;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .w-full {
    width: 100%;
  }


  .formbold-file-input label {
    position: relative;
    border: 1px dashed #e0e0e0;
    border-radius: 6px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    text-align: center;
  }
  .formbold-drop-file {
    display: block;
    font-weight: 600;
    color: #07074d;
    font-size: 20px;
    margin-bottom: 8px;
  }

  .formbold-or {
    font-weight: 500;
    font-size: 16px;
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
  }
  .formbold-browse {
    font-weight: 500;
    font-size: 16px;
    color: #07074d;
    display: inline-block;
    padding: 8px 28px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }

  .formbold-file-list {
    border-radius: 6px;
    background: #f5f7fb;
    padding: 16px 32px;
  }

  .formbold-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .formbold-file-item button {
    color: #07074d;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .formbold-file-name {
    font-weight: 500;
    font-size: 16px;
    color: #07074d;
    padding-right: 12px;
  }
  .formbold-progress-bar {
    margin-top: 20px;
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 8px;
    background: #e2e5ef;
  }

  .formbold-progress {
    position: absolute;
    width: 75%;
    height: 100%;
    left: 0;
    top: 0;
    background: #6a64f1;
    border-radius: 8px;
  }

  @media (min-width: 540px) {
    .sm\:w-half {
      width: 50%;
    }
  }

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}