.base64-tool-page { background: radial-gradient(circle at 46% 7%, rgba(91, 64, 220, .23), transparent 29%), radial-gradient(circle at 91% 47%, rgba(32, 97, 202, .13), transparent 28%), linear-gradient(180deg, #020615, #04091a 70%, #071027); }.base64-page-icon { color: #a58aff; border-color: rgba(133, 102, 236, .44); background: linear-gradient(145deg, rgba(98, 64, 218, .28), rgba(44, 29, 111, .5)); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 0 38px rgba(103, 70, 225, .16); font-size: 28px; font-weight: 800; }.base64-page-hero .eyebrow { color: #9d7aff; }
.base64-workspace { overflow: hidden; border: 1px solid rgba(102, 113, 165, .27); border-radius: 18px; background: linear-gradient(145deg, rgba(17, 27, 53, .97), rgba(6, 13, 32, .98)); box-shadow: 0 26px 75px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.025); }.base64-mode-bar { min-height: 66px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(100, 114, 160, .18); background: rgba(6, 14, 33, .66); }.base64-content-tabs, .base64-operation-tabs { display: inline-flex; padding: 4px; border: 1px solid rgba(107, 117, 161, .22); border-radius: 10px; background: rgba(10, 19, 42, .82); }.base64-mode-bar button { height: 35px; padding: 0 16px; color: #8992aa; border: 0; border-radius: 7px; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }.base64-mode-bar button span { margin-right: 6px; }.base64-mode-bar button.active { color: #f3f4fb; background: linear-gradient(135deg, rgba(108, 75, 225, .9), rgba(70, 92, 221, .88)); box-shadow: 0 6px 18px rgba(77, 74, 204, .22); }
.base64-text-grid, .base64-image-encode-grid, .base64-image-decode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.base64-editor-panel, .base64-image-panel { min-width: 0; padding: 23px; }.base64-editor-panel:first-child, .base64-image-panel:first-child { border-right: 1px solid rgba(101, 114, 159, .17); }.base64-output-panel, .base64-image-output, .base64-decoded-preview { background: rgba(4, 11, 28, .34); }.base64-panel-heading { min-height: 38px; margin-bottom: 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.base64-panel-heading > div { display: flex; align-items: flex-start; gap: 10px; }.base64-panel-heading > div > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; color: #a990ff; border: 1px solid rgba(129, 100, 232, .3); border-radius: 8px; background: rgba(91, 62, 190, .13); font-size: 9px; font-weight: 800; }.base64-panel-heading h3 { margin: 1px 0 0; font-size: 13px; }.base64-panel-heading p { margin: 4px 0 0; color: #737d95; font-size: 9px; }.base64-panel-heading > button { height: 30px; padding: 0 11px; color: #b7c3e0; border: 1px solid rgba(103, 124, 180, .3); border-radius: 7px; background: rgba(20, 34, 65, .72); font-size: 9px; font-weight: 700; cursor: pointer; }.base64-panel-heading > button:disabled { opacity: .42; cursor: default; }.base64-editor-panel > textarea { width: 100%; min-height: 260px; padding: 15px; resize: vertical; color: #e7eaf4; border: 1px solid #303d5c; border-radius: 10px; outline: 0; background: #071025; font: 400 11px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }.base64-editor-panel > textarea::placeholder { color: #566178; }.base64-editor-panel > textarea:focus { border-color: #7867df; box-shadow: 0 0 0 3px rgba(105, 80, 216, .1); }.base64-character-count { margin-top: 8px; display: block; color: #687188; font-size: 8px; text-align: right; }
.base64-action-row { grid-column: 1 / -1; min-height: 64px; padding: 10px 23px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; border-top: 1px solid rgba(101, 114, 159, .15); background: rgba(5, 13, 31, .56); }.base64-action-row button { height: 40px; padding: 0 20px; border-radius: 8px; font-size: 10px; font-weight: 750; cursor: pointer; }.base64-primary-button { min-width: 180px; color: white; border: 0; background: linear-gradient(135deg, #7256e8, #4c68df); box-shadow: 0 8px 22px rgba(79, 78, 211, .23); }.base64-secondary-button { color: #aeb5c9; border: 1px solid rgba(104, 118, 158, .32); background: rgba(17, 29, 55, .78); }
.base64-image-drop { min-height: 320px; padding: 24px; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; border: 1px dashed rgba(111, 94, 220, .44); border-radius: 11px; background: radial-gradient(circle at 50% 44%, rgba(87, 65, 197, .1), transparent 38%), rgba(7, 15, 34, .57); text-align: center; transition: .2s ease; }.base64-image-drop.is-dragging { border-color: #8f7af1; background-color: rgba(76, 59, 174, .12); }.base64-image-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.base64-image-drop > span { color: #7562cf; font-size: 42px; }.base64-image-drop img { max-width: 100%; max-height: 180px; margin-bottom: 13px; object-fit: contain; border-radius: 7px; }.base64-image-drop strong { margin-top: 12px; max-width: 100%; color: #c8cbd9; font-size: 12px; overflow-wrap: anywhere; }.base64-image-drop small { margin-top: 6px; color: #737d94; font-size: 9px; }.base64-image-drop button { height: 37px; margin-top: 17px; padding: 0 18px; color: #e9e6ff; border: 1px solid rgba(126, 100, 230, .45); border-radius: 8px; background: rgba(83, 58, 183, .17); font-size: 9px; font-weight: 700; cursor: pointer; }.base64-data-url-toggle { min-height: 48px; margin-bottom: 11px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(102, 115, 157, .18); border-radius: 8px; background: rgba(8, 17, 38, .56); cursor: pointer; }.base64-data-url-toggle input { width: 15px; height: 15px; accent-color: #7962e1; }.base64-data-url-toggle > span { display: grid; gap: 3px; }.base64-data-url-toggle strong { color: #c9cedd; font-size: 9px; }.base64-data-url-toggle small { color: #737d94; font-size: 8px; }.base64-image-output textarea { min-height: 261px; }
.base64-mime-field { margin-top: 12px; display: grid; grid-template-columns: 1fr 170px; align-items: center; gap: 12px; }.base64-mime-field > span { color: #858da4; font-size: 9px; }.base64-mime-field select { height: 36px; padding: 0 10px; color: #e3e6f0; border: 1px solid #303d5c; border-radius: 8px; outline: 0; background: #071025; font-size: 9px; }.base64-preview-empty, .base64-preview-result { min-height: 320px; }.base64-preview-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed rgba(103, 116, 162, .22); border-radius: 11px; background: rgba(7, 15, 34, .5); text-align: center; }.base64-preview-empty > span { color: #4f5e8d; font-size: 40px; }.base64-preview-empty strong { margin-top: 14px; color: #9da5ba; font-size: 12px; }.base64-preview-empty small { margin-top: 7px; color: #667087; font-size: 9px; }.base64-preview-result > div:first-child { height: 245px; padding: 13px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(101, 114, 159, .2); border-radius: 11px; }.base64-preview-result img { max-width: 100%; max-height: 100%; object-fit: contain; }.base64-preview-result > div:nth-child(2) { margin: 10px 0; display: flex; justify-content: space-between; color: #7f899f; font-size: 9px; }.base64-preview-result > button { width: 100%; height: 39px; color: #e6e2ff; border: 1px solid rgba(126, 100, 230, .42); border-radius: 8px; background: rgba(82, 58, 181, .15); font-size: 9px; font-weight: 750; cursor: pointer; }.base64-ready-badge { padding: 5px 8px; color: #79dda3; border: 1px solid rgba(77, 201, 131, .26); border-radius: 999px; background: rgba(52, 174, 105, .09); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.base64-footer { min-height: 47px; padding: 10px 23px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(101, 114, 159, .14); background: rgba(5, 13, 30, .69); }.base64-footer p { margin: 0; color: #8f9fca; font-size: 9px; }.base64-footer .base64-error { color: #ff7d91; }.base64-footer > span { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #6f7890; font-size: 8px; }.base64-footer i { color: #8c73ea; font-style: normal; }.base64-information article > span { color: #9175ee; font-size: 17px; }
@media (max-width: 760px) { .base64-mode-bar { align-items: stretch; flex-direction: column; }.base64-content-tabs, .base64-operation-tabs { width: 100%; }.base64-mode-bar button { flex: 1; }.base64-text-grid, .base64-image-encode-grid, .base64-image-decode-grid { grid-template-columns: 1fr; }.base64-editor-panel:first-child, .base64-image-panel:first-child { border-right: 0; border-bottom: 1px solid rgba(101, 114, 159, .17); }.base64-action-row { grid-column: auto; }.base64-editor-panel > textarea { min-height: 210px; } }
@media (max-width: 560px) { .base64-mode-bar { padding: 11px 14px; }.base64-editor-panel, .base64-image-panel { padding: 17px; }.base64-operation-tabs button, .base64-content-tabs button { padding: 0 9px; }.base64-image-drop { min-height: 270px; }.base64-mime-field { grid-template-columns: 1fr; }.base64-action-row { padding: 11px 17px; flex-direction: column; }.base64-action-row button { width: 100%; }.base64-footer { padding: 11px 17px; align-items: flex-start; flex-wrap: wrap; }.base64-footer > span { width: 100%; margin-left: 0; } }
