.claim-warning {
    color: red;
}

.diary-header-message {
    margin-top: 60px;
}

.map-button {
    background-color: #04c;
    color: #ffffff !important;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none !important;
}

table.indemnity-status-row tbody tr.highlight-red {
    background-color: #ff4e4e;
}

.hamburger-menu i {
    position: fixed;
    right: 2%;
    cursor: pointer;
}

body.scrolling .hamburger-menu {
    top: 67px;
}

.hamburger-menu:hover+.dfi-menu-collapse,
.dfi-menu-collapse:hover {
    display: block;
}

.hamburger-menu {
    color: #fff;
    font-family: 'Quicksand-Regular', sans-serif;
    font-size: 30px;
    position: fixed;
    top: 130px;
    z-index: 100;
}

.dfi-card-body {
    position: fixed;
    background-color: #2184C9;
    z-index: 999;
    width: 15%;
    height: auto;
    transform: translateX(-50%);
    left: 91%;
    padding: 10px 0px 10px 10px;
    border: 2px solid #61A2CE;
    top: 13%;
}

.dfi-card-body .dfi-card-body-btn {
    background: none !important;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

body.scrolling .dfi-card-body {
    top: 8%;
}

.dfi-menu-collapse {
    display: none;
}

.dfi-card-body .dfi-card-body-btn:hover {
    color: #B2DAF5;
}

body.scrolling div.button-diary button.dfi-diary-btn {
    top: 5%;
}

div.button-diary button.dfi-diary-btn {
    position: fixed;
    top: 130px;
    z-index: 100;
    right: 13%;
    display: inline-block;
}

div.export-button button.dfi-export-button {
    position: fixed;
    top: 130px;
    z-index: 100;
    right: 5%;
    display: inline-block;
}

body.scrolling div.export-button button.dfi-export-button {
    top: 5%;
}

.dfi-claims-btn {
    background: url(/images/cci/btn-bg.png) repeat-x;
    height: 30px;
    padding: 1px 15px;
    border: 1px solid #278acd;
    cursor: pointer;
    font: bold 14px Arial, Helvetica, sans-serif;
    color: #fff;
    border-radius: 3px !important;
}

div.bootstrapped .transfer-btn {
    margin: 0px 0px 10px 15px;
}

div.bootstrapped .Return-btn {
    padding: 0px;
    background-color: #04c;
}

div.bootstrapped .Return-btn a {
    color: #ffffff;
    padding: 4px 12px;
    line-height: 30px;
    text-decoration: none;
}

.transfer-success-message {
    position: fixed;
    top: 202px;
    right: 20px;
    background-color: #2a5718;
    border: 1px solid #d6e9c6;
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 4px;
    font-size: 15px;
    z-index: 9999;
}

.overlay-active {
    position: relative;
}

.overlay-active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.copley-letter-reason {
    width: 100%;
    background: #FF5733;
    border: 1px solid #b94a48;
    position: fixed;
    z-index: 10;
    font-size: 17px;
    color: #000000;
    padding: 10px 0 10px 42px;
    top: 200px;
}

body.scrolling div.copley-letter-reason {
    top: 125px;
}

@media screen and (min-width: 1920px) and (min-height: 1080px) {
    .dfi-card-body {
        top: 13%;
    }
}

.toggle-button {
    width: 40px;
    height: 20px;
    border-radius: 15px;
    border: 2px solid #ccc;
    position: relative;
    cursor: pointer;
    background-color: red;
    transition: background-color 0.3s ease;
}

.toggle-button .toggle-circle {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    transition: left 0.3s ease;
}

.toggle-button.dfi-active-toggle-btn {
    background-color: green;
}

.toggle-button.dfi-active-toggle-btn .toggle-circle {
    left: 20px;
}

.claimsDiaryDatePicker{
    margin-right: 19px !important;
}

.bootstrapped.dfidiary menu.claimsDiaryMenu{
    margin: 50px 0 0 0 !important;
}

.diaryFilter {
    float: left;
    margin-right: -260px;
    background-color: #fde29d;
    padding: 80px 20px 75px 10px;
}

.re-rate-process {
    width: 100%;
    background: #ffd859;
    position: fixed;
    z-index: 10;
    font-size: 17px;
    color: #000000;
    padding: 10px 0 10px 42px;
    top: 200px;
}

body.scrolling div.re-rate-process {
    top: 125px;
}

body:has(.copley-letter-reason) .re-rate-process {
    top: 250px;
}

body.scrolling:has(.copley-letter-reason):has(.re-rate-process) div.re-rate-process {
    top: 175px;
}

/* Apply margin-top only if both banners exist */
body:has(.re-rate-process):has(.copley-letter-reason) form#outstanding_next_steps,
body:has(.re-rate-process):has(.copley-letter-reason) #successMessage {
    margin-top: 60px;
}
