html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}


.jumbotron {
    text-align: center;
    background-color: transparent;
}
.search-inline-global::placeholder {
    color: white !important;
    opacity: 1 !important;
}


.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.custom-node-btn {
    display: inline-flex;
    align-items: center;
    background-color: #0d9488;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.custom-node-btn:hover {
    background-color: #0d9488;
    text-decoration: none;
    color: white;
}




.card-archive {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    height: 100%;
}

.archive-preview-img {
    height: 120px;
    object-fit: contain;
    width: 100%;
}

.archive-meta {
    font-size: 0.85rem;
    color: #333;
    word-break: break-word;
}
.card-archive .btn {
    font-size: 13px;
}

.repository-index .card:hover {
    transform: scale(1.01);
    transition: 0.2s ease-in-out;
}

.archive-preview-img {
    transition: 0.3s;
}
.archive-preview-img:hover {
    opacity: 0.9;
}
.repository-index .card:hover {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transition: 0.2s ease-in-out;
}

.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/*change the btn succes color*/
.btn-primary {
    background-color: #3f6db2 !important;
    border-color: #3f6db2 !important;
    color: #fff !important;
    border-radius: 7px !important;
}

.btn-primary:hover {
    background-color: rgba(63, 109, 178, 0.85) !important;
    border-color: rgba(63, 109, 178, 0.85) !important;
}

.btn-primary:active,
.btn-primary:focus {
    background-color: rgba(63, 109, 178, 0.85) !important;
    border-color: rgba(63, 109, 178, 0.85) !important;
    box-shadow: none !important;
}

.btn-danger {
    background-color: #b94c4c !important;
    border-color: #b94c4c !important;
    color: #fff !important;
    border-radius: 7px !important;
}

.btn-danger:hover {
    background-color: rgba(185, 76, 76, 0.85) !important;
    border-color: rgba(185, 76, 76, 0.85) !important;
}

.btn-danger:active,
.btn-danger:focus {
    background-color: rgba(185, 76, 76, 0.85) !important;
    border-color: rgba(185, 76, 76, 0.85) !important;
    box-shadow: none !important;
}




.btn-info {
    background-color: #3f6db2 !important;
    border-color: #3f6db2 !important;
    color: #fff !important;
    border-radius: 7px !important;
}

.btn-info:hover {
    background-color: rgba(63, 109, 178, 0.85) !important;
    border-color: rgba(63, 109, 178, 0.85) !important;
}

.btn-info:active,
.btn-info:focus {
    background-color: rgba(63, 109, 178, 0.85) !important;
    border-color: rgba(63, 109, 178, 0.85) !important;
    box-shadow: none !important;
}


.btn-success {
    background-color: rgb(26, 83, 92) !important;
    border-color: rgb(26, 83, 92)!important;
    color: #fff !important;
    border-radius: 7px!important;

}

.btn-success:hover {
    background-color: rgba(6, 83, 90, 0.76) !important;
    border-color:   rgba(6, 83, 90, 0.76) !important;
}

.btn-success:active,
.btn-success:focus {
    background-color: rgba(6, 83, 90, 0.76) !important;
    border-color:   rgba(6, 83, 90, 0.76) !important;
    box-shadow: none !important;
}
/*.bg-success {*/
/*    background-color: #bd0f0f !important;*/
/*}*/

/*custom delete button*/
.custom-delete-btn {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #3f6db2; /* Info text */
    background-color: #eaf0fb; /* Soft info background */
    border: 1px solid #3f6db2;
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-delete-btn i {
    margin-right: 5px;
}

.custom-delete-btn:hover {
    background-color: #3f6db2;
    color: white;
    text-decoration: none;
}

.custom-delete-btn:active {
    transform: scale(0.98);
}




/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}
.icon-orange { background-color: #ff9800; }
.icon-blue { background-color: #3f51b5; }
.icon-red { background-color: #e53935; }
.icon-green { background-color: #26a69a; }

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


a.text-decoration-none:hover .card {
    background-color: #f9fafb;
    transform: translateY(-2px);
    transition: 0.2s ease;
}


.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
