body {
    min-height: calc(100% + 1px);
    color: #222;
    background-color: #f9f9f9;
    margin: 0;
    padding: 50px 0 0 0;
    animation: fadeIn 400ms ease-in;
    
    font-variant-numeric: normal;
    text-rendering: optimizelegibility;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* pull to refresh styling */
.ptr--ptr {
    box-shadow: inset 0px -3px 2px rgba(0, 0, 0, 0.05) !important;
}

.button-primary {
    background-color: #e67469ee !important;
    border-color: #e67469ee !important;
    color: #fff;
}
.small-spacer { margin-top: 25px; }
.spacer { margin-top: 50px; }

.side-by-side {
    display: flex;
    flex-wrap: nowrap;
}
.side-by-side span {
    flex: 1;
    text-align: center; /* Optional: for centering the text */
}

.inbox-container {
    border: 0px solid #e1e1e1;
    border-radius: 5px;
    padding: 1rem;
}
.email-item {
    border-bottom: 1px solid #e1e1e1;
    padding: 1rem 0;
    cursor: pointer;
}
.email-item:last-child {
    border-bottom: none;
}
.email-item:hover {
    background-color: #f9f9f9;
}
.email-item .email-subject {
    font-weight: bold;
}
.email-item .email-sender {
    color: #888;
}
.email-item .email-date {
    color: #aaa;
}
.email-detail {
    display: none;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 0;
}
.no-emails-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.no-emails {
    color: lightgrey;
    display: flex;
    align-items: center;
}
.no-emails::before, .no-emails::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: lightgrey;
    margin: 0 10px;
}

/* Text */

.text-center {text-align: center;}
.text-right {text-align: right;}
.text-spacer {margin-left: 10px;}

/* Notification */
.notification {
    min-width: 210px;
    text-align: center;
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 5px 10px;
    background-color: #434343;
    color: white;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    z-index: 1000;
    pointer-events: none;
    font-size: 1.5rem;
}
.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}
