@import url('./variables.css');
@import url('./app.css');
@import url('./theme.css');
@import url('./media.css');

/** Main Navigation */
#main-nav .navbar-nav .nav-item > a {
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 12px;
}

#main-nav .navbar-nav .nav-item > a:hover {
    background-color: var(--color-light-gray);
}

/** Components - Content */
.page-content {
    padding: 24px 0;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header > * {
    margin-top: 0;
    margin-bottom: 0;
}

.page-header > .subtitle {
    font-size: 20px !important;
    font-weight: 300;
    color: var(--color-secondary);
}

.page-header > .title {
    /* font-size: 20px !important; */
    font-weight: 700;
    color: var(--color-primary);
}

/** Components - Card Panel */
.card-panel {
    --bs-card-border-color: var(--color-light-gray);
    
    padding: 2rem;
    box-shadow: 0 0.35rem 0.25rem rgba(0,0,0,0.1) !important;
}

/** Components - Details */
.detail {
    margin-bottom: 1.5rem;
}

.detail__label {
    margin-bottom: 0.25rem;
    font-weight: bold;
    font-size: 0.8rem !important;
    line-height: 0.8rem !important;
    color: var(--color-slate);
    text-transform: uppercase;
}

.detail__content {
    margin-bottom: 0;
    min-height: 1rem;
    line-height: 1rem !important;
}

.detail__list {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none;
}

.detail__list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-popover {
    max-width: 500px;
}

.form-label[data-required="true"]::after,
.form-check-label[data-required="true"]::after{
    content: '*';
    color: var(--bs-danger);
}

/* Custom Dropzone */
#dropzone-files.dropzone {
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

#dropzone-files .dz-file-preview {
    min-height: 50px;
    margin: 0 0 8px;
}

#dropzone-files .dz-image {
    width: 100%;
    height: 50px;
    border-radius: 10px;
}

#dropzone-files .dz-details {
    display: flex;
    padding: 1.25em 1.5em;
}

#dropzone-files .dz-size {
    margin-bottom: 0;
}

#dropzone-files .dz-filename {
    flex: 1;
    margin-left: 0.25em;
    text-align: start;
}

#dropzone-files .dz-filename:hover {
    overflow: hidden;
    text-overflow: ellipsis;
}

#dropzone-files [data-dz-size] {
    display: flex;
    font-size: 0.8rem;
}

#dropzone-files .dz-progress {
    left: 1.25em;
    right: 1.25em;
    /* margin-top: -33px; */
}

#dropzone-files .dz-success-mark,
#dropzone-files .dz-error-mark {
    transform: scale(0.5);
}

#dropzone-files .dz-error-message {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes slide-in {
    0% {
        transform: translateY(40px) scale(0.5);
    }

    30% {
        transform: translateY(0px) scale(0.5);
    }
}