body {
    margin-top: 20px;
    background: #eee;
}

/* EMAIL */
.email {
    padding: 20px 10px 15px 10px;
    font-size: 1em;
}

.email h2 {
    margin-top: 0;
    padding-bottom: 8px;
}

.email .nav.nav-pills > li > a {
    border-top: 3px solid transparent;
    display: block; /* Ensure items are block-level elements */
    padding: 10px 15px; /* Add padding for spacing */
}

.email .nav.nav-pills > li {
    margin-bottom: 5px; /* Add margin between items */
}

.email .nav.nav-pills > li > a:hover {
    background-color: #f6f6f6;
}

.email .nav.nav-pills > li.active > a,
.email .nav.nav-pills > li.active > a:hover {
    background-color: #f6f6f6;
    border-top-color: #3c8dbc;
    font-weight: 600;
}

.email .nav.nav-pills.nav-stacked > li.active > a,
.email .nav.nav-pills.nav-stacked > li.active > a:hover {
    background-color: #f6f6f6;
    border-left-color: #3c8dbc;
    color: #444;
    margin-bottom: 5px;
}


.email table {
    font-weight: 600;
}

.email table tr.read > td {
    background-color: #f6f6f6;
    font-weight: 400;
}

.email table tr td > i.fa {
    font-size: 1.2em;
    line-height: 1.5em;
    text-align: center;
}

.email table tr td > i.fa-star {
    color: #f39c12;
}

.email table tr td > i.fa-bookmark {
    color: #e74c3c;
}

.email table tr > td.action {
    padding-left: 0px;
    padding-right: 2px;
}

.grid {
    position: relative;
    width: 100%;
    background: #fff;
    color: #666666;
    border-radius: 2px;
    margin-bottom: 25px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.grid .grid-body {
    padding: 15px 20px 15px 20px;
    font-size: 0.9em;
    line-height: 1.9em;
}

.search .btn {
    border-radius: 0 3px 3px 0;
    margin-top: 0;
}

.modal .modal-header.bg-blue {
    background: #3498db;
    color: white;
}

.modal .modal-content .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal .modal-footer {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}
