/* styles.css */

.base-header {
    margin-bottom: 30px;
}

.base-header .base-content-title {
    font-weight: 500;
    font-size: 18px;
    text-indent: -1px;
    line-height: 2;
    position: relative;
    margin-bottom: 20px;
}
@media screen and (max-width: 1220px ){
    tr{
        height: 40px !important;
        font-size: 12px;
    }
    
}
tr{
    height: 53.5px !important;
}
.email-cards{
    max-height: calc(100% - 20px) !important;
    border:none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    overflow-x: scroll;
    overflow-y: hidden ;
}
@media screen and (max-width: 690px ){
    body {
        font-size: 16px !important;
    }
}

.btn-primary {
    background-color: #9b2948 !important;
    border-color: #9b2948 !important;
    color: #fff !important;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/*.base {*/
/*    padding: 20px;*/
/*}*/

.base-content {
    margin-top: 10vh;
    height: calc( 90vh - 40px);
}
@media screen and (max-width: 767px ){
    .base-content {
        margin-top: 2vh;
       height: calc(98vh - 40px);
    }
}

.search {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; 
    border: none !important; 
    margin-bottom: 30px !important;
}

.search-body {
    padding: 20px;
}

.card-header {
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
}


.search-footer {
    background-color: #00000000 !important;
    border-block-start: 1px solid #ededf5 !important;
    padding: 1rem 1.25rem !important;
    text-align: right !important;
    border-top: none !important;
    font-size: .813rem !important;
}


.show-mails {
    border: none;
    padding: 10px 20px !important;
    color: #fff;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
}

.show-mails:hover {
    background-color: #9b2948  !important;
    border-color: #9b2948  !important;
}

.errors {
    max-height: 400px;
    overflow-y: auto;
}

.alert {
    margin: 10px 0;
}

.btn {
    margin: 5px;
}

.scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scrollToTop .arrow {
    font-size: 20px;
}


@media (max-width: 768px) {
    .main-content {
        padding: 10px;
    }

    .card-body {
        padding: 15px;
    }
}
#accountName::placeholder { 
    opacity: 0.5;
}
#accountName:focus{
    outline: none;
    box-shadow: none;
    border-color: #dee2e6;
}

.submit-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 6em;
    padding-top: 2.3em;
    z-index: 1;
    width: 20em;
    padding-left: 2.1em;
    background-color: black;
    color: white;
    border-radius: 0.4em;
    box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    transform: translate(-50%, -50%);
    margin: 0 !important;
}

.submit-progress {
    padding-top: 2em;
    width: 23em;
    margin-left: -11.5em;
}

.submit-progress i {
    margin-right: 0.5em;
}
