:root { /* Base colors */ --color-bg-dark: #131516; --color-bg-medium: #2F2B36; --color-text-primary: #cccccc; --color-text-light: #e0e0e0; --color-text-dim: #888; --color-text-dimmer: #666; --color-text-gray: #999; --color-text-white: #ffffff; --color-text-white-alt: #fff; /* Accent colors */ --color-accent-purple: #9b4dca; --color-accent-purple-alt: #9b4cda; --color-accent-purple-light: #b366e6; --color-accent-purple-bright: #6c5ce7; --color-accent-orange: #ca5414; --color-warning: #ff8c00; --color-danger: #e74c3c; --color-error: #b00; /* UI colors */ --color-border-dark: #444; --color-button-cancel: #555; /* Transparent overlays */ --overlay-white-15: rgba(255, 255, 255, 0.15); --overlay-white-12: rgba(255, 255, 255, 0.12); --overlay-white-10: rgba(255, 255, 255, 0.1); --overlay-white-08: rgba(255, 255, 255, 0.08); --overlay-white-06: rgba(255, 255, 255, 0.06); --overlay-white-05: rgba(255, 255, 255, 0.05); --overlay-white-04: rgba(255, 255, 255, 0.04); --overlay-white-03: rgba(255, 255, 255, 0.03); --overlay-white-02: rgba(255, 255, 255, 0.02); --overlay-black-80: rgba(0, 0, 0, 0.8); --overlay-black-45: rgba(0, 0, 0, 0.45); --overlay-black-40: rgba(0, 0, 0, 0.4); --overlay-black-35: rgba(0, 0, 0, 0.35); --overlay-black-30: rgba(0, 0, 0, 0.3); /* Purple overlays */ --overlay-purple-50: rgba(155, 77, 202, 0.5); --overlay-purple-40: rgba(155, 77, 202, 0.4); --overlay-purple-35: rgba(155, 77, 202, 0.35); --overlay-purple-30: rgba(155, 77, 202, 0.3); --overlay-purple-25: rgba(155, 77, 202, 0.25); --overlay-purple-20: rgba(155, 77, 202, 0.2); --overlay-purple-15: rgba(155, 77, 202, 0.15); --overlay-purple-12: rgba(155, 77, 202, 0.12); --overlay-purple-10: rgba(155, 77, 202, 0.1); --overlay-purple-08: rgba(155, 77, 202, 0.08); --overlay-purple-04: rgba(155, 77, 202, 0.04); /* Warning overlay */ --overlay-warning-10: rgba(255, 140, 0, 0.1); } body { margin: 0; min-height: 100vh; padding: 20px; display: flex; flex-direction: column; accent-color: var(--color-accent-purple-alt); background: linear-gradient( 135deg, var(--overlay-white-08), var(--overlay-white-02)), var(--color-bg-dark); color: var(--color-text-primary); border: 1px solid var(--overlay-white-12); box-shadow: 0 10px 30px var(--overlay-black-45), inset 0 1px 0 var(--overlay-white-06); } body::-webkit-scrollbar { display: none; } main { flex: 1; /* keep footer at the bottom */ } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } a { color: var(--color-text-primary); } a:hover, .action-links a:hover, .email-link, .attachment-link, .attachment-link:hover { text-decoration: none; } a:hover { color: var(--color-accent-purple-alt); } h1 { font-size: 3rem; } h3 { font-size: 2rem; } a.no-link-color { color: var(--color-text-primary); } p { margin-bottom: unset; } .email:hover { color: black; background-color: var(--color-accent-purple-alt); } iframe { /* background-color: #1D2021; */ background-color: white; min-width: 75%; max-width: 1500px; min-height: 40vh; margin: 2rem auto; display: block; border: none; border-radius: 30px; } blockquote { border-left: .3rem solid var(--color-accent-purple); } blockquote.warning { border-left: .3rem solid var(--color-accent-orange); } text-muted { color: gray; } .footer { text-align: center } .footer-two { margin-top: -2rem } .action-links { margin-bottom: 15px; float: right; justify-content: flex-end; /* aligns all links to the right */ flex-wrap: nowrap; /* ensures they stay in one line */ text-align: right; display: flex; gap: 10px; } .hamburger-menu { display: none; background: var(--overlay-purple-20); border: 1px solid var(--overlay-purple-30); border-radius: 12px; padding: 10px; cursor: pointer; color: var(--color-accent-purple-light); transition: all 0.3s ease; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; } .hamburger-menu span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu:hover { background: var(--overlay-purple-30); border-color: var(--overlay-purple-40); box-shadow: 0 4px 15px var(--overlay-purple-25); } .action-links a { display: inline-block; padding: 12px 24px; border-radius: 15px; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; border: 1px solid var(--overlay-white-15); position: relative; overflow: hidden; text-decoration: none; color: var(--color-text-light); } .action-links a::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, var(--overlay-white-10), transparent); transition: left 0.5s; } .action-links a:hover::before { left: 100%; } .action-links a:hover { transform: translateY(-3px); box-shadow: 0 8px 25px var(--overlay-purple-40); border-color: var(--overlay-purple-30); color: var(--color-text-white); } /* Reset apple form styles */ input, textarea, select, select:active, select:focus, select:hover { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0; background-image: none; } #login { padding-top: 15vh; display: flex; flex-direction: column; max-width: 600px; margin: auto; background: linear-gradient( 135deg, var(--overlay-purple-12), var(--overlay-purple-04)), var(--overlay-white-04); border-radius: 22px; border: 1px solid var(--overlay-purple-25); padding: 40px 36px; box-shadow: 0 20px 50px var(--overlay-black-40), 0 0 0 1px var(--overlay-purple-08) inset; } #login h1, #login h4 { text-align: center; } #login h4 { margin-bottom: 6rem; } #login fieldset { display: flex; flex-direction: column; } #login fieldset label { position: relative; top: 12px; left: 12px; width: fit-content; line-height: 1; padding: 0 6px; font-size: 1.4rem; background: var(--color-bg-medium); z-index: 999; } #login input[type="text"], #login select { border-radius: 0.4rem; color: var(--color-text-primary); font-size: 1.6rem; height: 4.2rem; padding: 0 1.4rem; margin-bottom: 1rem; } #login select option { background-color: var(--color-bg-dark); color: var(--color-text-primary); } #login .dropdown { position: relative; border-radius: 0.4rem; } #login .dropdown::before { position: absolute; content: "\2193"; top: 15%; right: 12px; } #login .buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; /* keeps them aligned right like action-links */ margin-top: 1.5rem; } #login .buttons>*, #copyAddress, .close, .raw-tab-button { cursor: pointer; } #login .buttons>* { flex: 1 1 auto; min-width: 120px; border-radius: 20px; color: var(--color-text-white-alt); background: var(--overlay-purple-20); border: 1px solid var(--overlay-purple-35); box-shadow: 0 8px 20px var(--overlay-purple-25), inset 0 1px 0 var(--overlay-white-08); transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; } #login .buttons>*:hover { background: var(--overlay-purple-30); transform: translateY(-2px); box-shadow: 0 12px 25px var(--overlay-purple-35), inset 0 1px 0 var(--overlay-white-12); } .mail_attachments { width: 80%; padding-left: 10% } label { display: inline; } /* Modern Inbox Styles */ .inbox-container, .mail-container, .raw-container { min-width: 75%; max-width: 1500px; margin: 0 auto; } .inbox-container { padding: 0 20px; } .inbox-header { text-align: center; margin-bottom: 30px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; } .inbox-title { background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-purple-light), var(--color-accent-purple-bright)); font-size: 2.8rem; font-weight: 300; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; text-shadow: 0 2px 10px var(--overlay-purple-30); } .emails-container { padding-top: 10px; display: flex; flex-direction: column; gap: 20px; max-height: 62vh; overflow-y: auto; overflow-x: hidden; background: transparent; border: 2px solid var(--overlay-purple-30); border-radius: 15px; padding: 20px; /* Hide scrollbar */ scrollbar-width: none; -ms-overflow-style: none; } .emails-container::-webkit-scrollbar { display: none; } .email-link { transition: all 0.3s ease; display: block; } .email-link:hover { transform: translateY(-4px); } .email-card, .mail-content, .mail-attachments { border-radius: 18px; border: 1px solid var(--overlay-white-08); box-shadow: 0 8px 30px var(--overlay-black-30); } .email-card { padding: 24px; transition: all 0.4s ease; position: relative; overflow: hidden; } .email-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0; transition: opacity 0.3s ease; } .email-card:hover::before { opacity: 1; } .email-card:hover { box-shadow: 0 15px 50px var(--overlay-purple-15); transform: translateY(-2px); } .email-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; } .email-sender { display: flex; flex-direction: column; gap: 6px; } .sender-name { font-weight: 600; font-size: 1.35rem; color: var(--color-text-white); line-height: 1.2; } .sender-email, .mail-date { opacity: 0.8; } .sender-email { font-size: 1rem; color: var(--color-text-dim); } .email-date, .email-expiry { font-size: 0.85rem; color: var(--color-text-dimmer); white-space: nowrap; opacity: 0.7; } .email-subject, .empty-card h3, .mail-attachments h4 { font-weight: 400; } .email-subject { font-size: 1.25rem; color: var(--color-text-light); line-height: 1.5; } /* Subject row with right-bound expiry */ .email-subject-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .email-date { color: var(--color-text-dimmer); margin-left: auto; text-align: right; white-space: nowrap; } .empty-state { display: flex; justify-content: center; align-items: center; min-height: 400px; } .empty-card, .mail-header { background: var(--overlay-white-03); border-radius: 20px; border: 1px solid var(--overlay-white-08); } .empty-card { padding: 50px; text-align: center; box-shadow: 0 12px 40px var(--overlay-black-30); max-width: 400px; } .empty-card h3 { color: var(--color-accent-purple); margin-bottom: 20px; font-size: 2.2rem; } .empty-card p { color: var(--color-text-dim); font-size: 1.3rem; opacity: 0.9; line-height: 1.5; } /* Modern Mail View Styles */ .mail-header { padding: 30px; margin-bottom: 30px; box-shadow: 0 12px 40px var(--overlay-black-40); } .mail-subject { font-size: 2.2rem; font-weight: 300; margin: 0 0 20px 0; color: var(--color-text-white); line-height: 1.3; } .mail-from { font-size: 1.5rem; color: var(--color-accent-purple-light); font-weight: 500; } .mail-date { font-size: 1.4rem; color: var(--color-text-dim); } .mail-content { background: var(--overlay-white-02); border: 1px solid var(--overlay-white-06); padding: 30px; margin-bottom: 30px; } .mail-html-content iframe, .attachment-link, .raw-mail { border-radius: 12px; } .mail-html-content iframe { border: 1px solid var(--overlay-white-10); width: 100%; min-height: 40vh; } .mail-text-content { color: var(--color-text-light); line-height: 1.6; font-size: 1rem; white-space: pre-wrap; word-wrap: break-word; } .mail-empty-content { text-align: center; color: var(--color-text-dim); font-style: italic; padding: 40px; } .mail-attachments { background: var(--overlay-white-03); padding: 25px; } .mail-attachments h4 { color: var(--color-accent-purple); margin: 0 0 20px 0; font-size: 1.4rem; } .attachments-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; } .attachment-link { color: var(--color-accent-purple-light); padding: 12px 16px; background: var(--overlay-purple-10); border: 1px solid var(--overlay-purple-20); transition: all 0.3s ease; display: inline-block; max-width: fit-content; } .attachment-link:hover { background: var(--overlay-purple-15); border-color: var(--overlay-purple-30); transform: translateX(5px); } /* Modal Styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: var(--overlay-black-80); } .modal-content { background-color: var(--color-bg-dark); margin: 10% auto; padding: 2rem; border: 1px solid var(--color-accent-purple); border-radius: 0.4rem; width: 90%; max-width: 400px; box-shadow: 0 4px 6px var(--overlay-black-30); } .modal-content h3 { margin-top: 0; color: var(--color-text-primary); } .modal-description { color: var(--color-text-gray); margin-bottom: 1.5rem; font-size: 1.4rem; } .close { float: right; font-size: 2.8rem; font-weight: bold; color: var(--color-text-primary); line-height: 20px; transition: color 0.3s; } .close:hover, .close:focus { color: var(--color-accent-purple); } .floating-label { position: relative; top: 12px; left: 12px; width: fit-content; line-height: 1; padding: 0 6px; font-size: 1.4rem; background-color: var(--color-bg-dark); z-index: 999; color: var(--color-text-primary); } .modal-input { border-radius: 0.4rem; color: var(--color-text-primary); font-size: 1.6rem; height: 4.2rem; padding: 0 1.4rem; margin-bottom: 1rem; background-color: transparent; border: 1px solid var(--color-border-dark); width: 100%; } .modal-input:focus { border-color: var(--color-accent-purple); outline: none; } .modal-button { width: 100%; margin-top: 1rem; background-color: var(--color-accent-purple); } /* Lock Error Messages */ .unlock-error { color: var(--color-warning); margin-bottom: 1rem; padding: 0.8rem; background: var(--overlay-warning-10); border-left: 3px solid var(--color-warning); } /* Remove Lock Button Styles */ .modal-button-danger { background-color: var(--color-danger); } .modal-button-cancel { background-color: var(--color-button-cancel); } /* Copy address feedback */ #copyFeedback { display: none; color: var(--color-accent-purple-alt); font-size: 0.9em; position: absolute; margin-left: 0; margin-top: 50px; } .email-expiry .expiry-timer[style*="color: #b00"] { color: var(--color-error) !important; } /* Raw mail view */ .raw-container, .raw-mail { padding: 20px; } .raw-mail { background: var(--overlay-black-35); color: var(--color-text-light); border: 1px solid var(--overlay-white-08); white-space: pre-wrap; word-break: break-word; overflow-x: auto; font-family: Consolas, 'Courier New', monospace; font-size: 0.95rem; } .raw-tabs { display: flex; gap: 8px; margin-bottom: 12px; } .raw-tab-button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--overlay-white-12); background: var(--overlay-white-05); color: var(--color-text-light); transition: all 0.2s ease; } .raw-tab-button.active { background: var(--overlay-purple-25); border-color: var(--overlay-purple-40); color: var(--color-text-white-alt); } .raw-tab-button:hover { border-color: var(--overlay-purple-50); } .raw-panels { position: relative; } .raw-mail.hidden { display: none; } /* QR Code Button and Modal */ .qr-icon-btn { background: var(--overlay-purple-20); border: 1px solid var(--overlay-purple-30); border-radius: 12px; padding: 10px; color: var(--color-accent-purple-light); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .qr-icon-btn:hover { background: var(--overlay-purple-30); border-color: var(--overlay-purple-40); transform: translateY(-2px); box-shadow: 0 8px 20px var(--overlay-purple-25); } .qr-icon-btn svg { width: 24px; height: 24px; } .qr-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .qr-modal-content { max-width: 400px; text-align: center; } .qr-modal-content h3 { margin-left: 16.516px; margin-bottom: 24px; } .qr-code-container { background: white; padding: 20px; border-radius: 12px; display: inline-block; margin: 0 auto 20px; border: 2px solid var(--color-accent-purple); box-shadow: 0 8px 25px var(--overlay-purple-25); } .qr-address-label { color: var(--color-text-light); font-size: 1.2rem; margin: 0; word-break: break-all; } /* Loading Page */ .loading-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; text-align: center; } .loading-spinner { margin-bottom: 30px; } .loading-title { color: var(--color-text-primary); margin-bottom: 15px; font-size: 2rem; } .loading-message { color: var(--color-text-secondary); font-size: 1.2rem; } .loading-submessage { color: var(--color-text-muted); font-size: 1rem; margin-top: 10px; } body.loading-page .logo { display: none; } /* Responsive Styles */ @media (max-width: 768px) { .action-links { position: relative; } .hamburger-menu { display: flex; } .action-links.mobile-hidden>a, .action-links.mobile-hidden>button:not(.hamburger-menu) { display: none; } .action-links.mobile-open { flex-direction: column; position: absolute; right: 20px; top: 20px; background: var(--color-bg-dark); border: 1px solid var(--overlay-purple-30); border-radius: 15px; padding: 15px; box-shadow: 0 10px 40px var(--overlay-black-40); z-index: 1000; min-width: 200px; } .action-links.mobile-open>.hamburger-menu { display: none; } .action-links.mobile-open>a, .action-links.mobile-open>button:not(.hamburger-menu) { display: block; width: 100%; text-align: center; } .qr-icon-btn { display: none; } }