/* Gmail-like UI styles */ body { font-family: 'Google Sans', Roboto, Arial, sans-serif; margin: 0; padding: 0; } /* Gmail color palette */ :root { --gmail-blue: #1a73e8; --gmail-red: #d93025; --gmail-gray: #5f6368; --gmail-light-gray: #f1f3f4; --gmail-dark-gray: #3c4043; } /* Animation for bankruptcy effect */ @keyframes bankruptcyAnimation { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.5; } 100% { transform: scale(0); opacity: 0; } } .bankruptcy-effect { animation: bankruptcyAnimation 1s ease-out forwards; } /* Gmail-like email items */ .email-item { display: grid; grid-template-columns: 32px 160px 1fr auto; align-items: center; padding: 8px 16px; border-bottom: 1px solid #f1f3f4; font-size: 14px; } .email-item:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15); z-index: 1; position: relative; } .email-sender { color: var(--gmail-dark-gray); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .email-subject { color: var(--gmail-dark-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .email-preview { color: var(--gmail-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .email-time { color: var(--gmail-gray); font-size: 12px; text-align: right; } .email-unread .email-sender, .email-unread .email-subject { font-weight: 700; } .email-checkbox { margin-right: 8px; } .email-star { color: #e8ab02; } .email-label { display: inline-block; height: 24px; min-width: 40px; padding: 0 8px; margin-right: 8px; border-radius: 12px; font-size: 11px; font-weight: 500; line-height: 24px; text-align: center; } .email-label-primary { background-color: #e8f0fe; color: var(--gmail-blue); } .email-label-promo { background-color: #e6f9ee; color: #188038; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }