.help {
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.widget {
    display: flex;
    flex-flow: column;
    font-size: 14px;
}

.widget:first-child {
    border-top: none;
}

.widget .title {
    background: var(--primary-color);
    border-bottom: 1px solid #ddd;
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
    flex: 0 1 auto;
}

.widget .title .action-button {
    background: white;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    position: absolute;
    border-radius: 50px;
    right: 10px;
    top: 10px;
}

.widget .title .action-button:hover,
.widget .title .action-button:disabled {
    opacity: 0.8;
}

.widget .title .action-button:hover,
.widget .title .action-button:focus,
.widget .title .action-button:active,
.widget .title .action-button:focus-visible {
    outline: none;
}

.widget .title .action-button:disabled {
    cursor: not-allowed;
}

.widget .title .action-button a {
    text-decoration: none;
    color: var(--primary-color);
}

.widget .title .action-button i {
    display: block;
    font-size: 16px;
    padding: 5px;
}

.widget .title i {
    font-size: 10px;
    font-weight: normal;
}

.content-widget {
    padding: 20px 20px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.content-widget .help a {
    cursor: pointer;
    color: var(--primary-color) !important;
    font-style: normal;
    font-weight: 700;
}

.content-widget .help a:hover {
    color: var(--secondary-color);
}

.content-widget .notification {
    text-align: center;
    padding-top: 40px;
    font-weight: bold;
}

.content-widget .row-card {
    background: var(--primary-color);
    border-radius: 6px;
    color: var(--white);
    cursor: pointer;
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
    padding: 10px;
}

.content-widget .row-card:hover {
    text-decoration: none;
}

.content-widget .row-card .created {
    font-style: italic;
    text-align: right;
}

.content-widget .row-card:hover {
    opacity: 0.9;
}

.content-widget canvas {
    width: 100%;
}

.content-widget .sub-title {
    text-align: center;
    font-style: italic;
    color: #555;
    font-size: 12px;
}

.content-widget canvas {
    margin-bottom: 10px;
}

.content-widget .section {
    margin-bottom: 30px;
}

/* TICKET LIST */
.ticket-detail {
    border: 1px solid #ddd;
    cursor: pointer;
    display: block;
    margin-bottom: -1px;
    padding: 10px;
}

.ticket-detail:hover {
    background-color: #eee;
    text-decoration: none;
}

.ticket-detail .title {
    font-size: 16px;
    margin-bottom: 0;
}

.ticket-detail .description {
    color: gray;
    font-size: 12px;
    font-style: italic;
}

#feature-ticket-list {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

#feature-ticket-list .fa-minus-circle {
    color: var(--alert-color);
    cursor: pointer;
}

/* FEATURE DETAIL */
#features-detail table {
    width: 100%;
}

#features-detail .tab-content {
    border: 1px solid var(--primary-color);
}

#features-detail .tab-content,
#features-detail .tab-pane {
    width: 100%;
}

#features-detail .nav-tabs {
    border: none;
    display: none;
}

#features-detail .nav-tabs a {
    display: block;
    margin-bottom: 0;
    margin-right: -1px;
    padding: 10px;
    text-decoration: none;
}

#features-detail .nav-tabs a:hover {
    background-color: #eee;
    border-color: #eee #eee #ddd;
    color: #777;
}

#features-detail .nav-tabs a {
    border: 1px solid #ddd;
    color: #777;
    font-size: 10px;
    margin-top: -1px;
}

#features-detail .nav-tabs a.active,
#features-detail .nav-tabs a.active:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

#features-detail table .button {
    background-color: #eee;
    cursor: pointer;
    font-weight: 300;
    text-align: center;
}

#features-detail table .button.hidden:after {
    content: "▼";
}

#features-detail table .button.expand:after {
    content: "▲";
}

#features-detail table .button:hover {
    opacity: 0.5;
}

#features-detail table th,
#features-detail table td {
    padding: 5px 10px;
}

#features-detail .feature-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px;
}

#features-detail .feature-id {
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px;
    text-align: center;
}

#features-detail .row {
    margin: 0;
}

#features-detail .col {
    font-size: 12px;
    padding: 5px 10px;
}

#features-detail .toggle .col {
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    cursor: pointer;
}

#features-detail .toggle .col.active {
    background: var(--primary-color) !important;
    border-bottom: 1px solid var(--primary-color);
    color: white;
}

#features-detail tbody tr {
    border-bottom: 1px solid #dddddd;
}

#features-detail tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

#features-detail tbody tr.header {
    font-weight: 700;
    padding: 20px;
    cursor: pointer;
}

#features-detail tbody tr.header td {
    background: #e0ffe0;
    color: green;
    text-align: center;
    font-size: 14px;
}

.feature-create-ticket {
    border: 1px dashed green;
    color: green;
    cursor: pointer;
    font-size: 12px;
    padding: 10px;
    margin: 10px;
    margin-top: 0;
    text-align: center;
}

.feature-create-ticket .add {
    display: inline-block;
}

.feature-create-ticket .remove {
    display: none;
}

.feature-create-ticket.remove {
    border: 1px dashed var(--alert-color);
    color: var(--alert-color);
}

.feature-create-ticket.remove .add {
    display: none;
}

.feature-create-ticket.remove .remove {
    display: inline-block;
}

.feature-create-ticket:hover {
    background: rgba(0, 255, 0, 0.1);
}


.feature-create-ticket.remove:hover {
    background: rgba(255, 0, 0, 0.1);
}

select {
    cursor: pointer;
}

.ticket-count .fa-spinner {
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

/* WIDGET TICKET */

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.ticket-view {
    margin-bottom: -1px;
}

.ticket-view .indicator {
    padding: 10px;
}

.ticket-view .loading {
    animation: blinker 1s linear infinite;
    text-align: center;
}

#widget-ticket .row-card,
.ticket-view .row-card {
    background: white;
    color: inherit;
    border-bottom: 1px solid var(--primary-color);
    border-radius: 0;
}

.ticket-view .row-card {
    margin-bottom: 0;
}

#widget-ticket .row-card:hover,
.ticket-view .row-card:hover {
    background-color: var(--primary-color-opacity-1);
}

.extra-property {
    vertical-align: top;
}