558 lines
9.6 KiB
CSS
558 lines
9.6 KiB
CSS
:root {
|
|
--bg-dark: #0A0E14;
|
|
--card-bg: rgba(22, 28, 38, 0.85);
|
|
--card-border: rgba(255, 255, 255, 0.1);
|
|
--gold-primary: #E5B83A;
|
|
--gold-glow: rgba(229, 184, 58, 0.25);
|
|
--indigo-primary: #6366F1;
|
|
--emerald: #10B981;
|
|
--whatsapp: #25D366;
|
|
--text-primary: #FFFFFF;
|
|
--text-secondary: #94A3B8;
|
|
--text-muted: #64748B;
|
|
--radius-lg: 20px;
|
|
--radius-md: 12px;
|
|
--radius-sm: 8px;
|
|
--font-family: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-family);
|
|
min-height: 100vh;
|
|
padding-bottom: 90px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-x: hidden;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Header */
|
|
.app-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
background: rgba(10, 14, 20, 0.85);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--card-border);
|
|
padding: env(safe-area-inset-top, 12px) 16px 12px 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.brand-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.logo-box {
|
|
width: 38px;
|
|
height: 38px;
|
|
background: linear-gradient(135deg, #6366F1, #06B6D4, #A855F7);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
|
|
}
|
|
|
|
.brand-titles h1 {
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.brand-titles h1 span {
|
|
color: var(--gold-primary);
|
|
}
|
|
|
|
.brand-titles p {
|
|
font-size: 10.5px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pill-btn {
|
|
background: rgba(99, 102, 241, 0.15);
|
|
border: 1px solid rgba(99, 102, 241, 0.3);
|
|
color: #A5B4FC;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.pill-btn:active {
|
|
transform: scale(0.96);
|
|
background: rgba(99, 102, 241, 0.3);
|
|
}
|
|
|
|
/* Main Container */
|
|
.main-container {
|
|
flex: 1;
|
|
padding: 16px;
|
|
max-width: 680px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.tab-page {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
animation: fadeIn 0.25s ease-out;
|
|
}
|
|
|
|
.tab-page.active {
|
|
display: flex;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Cards */
|
|
.card {
|
|
background: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 18px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.card-header .icon {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.card-header h2 {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.card-header p {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Form Inputs */
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
label {
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
textarea,
|
|
select {
|
|
width: 100%;
|
|
background: rgba(10, 14, 20, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: var(--radius-md);
|
|
padding: 12px 14px;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="password"]:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
border-color: var(--gold-primary);
|
|
box-shadow: 0 0 0 3px var(--gold-glow);
|
|
}
|
|
|
|
/* File Upload Button */
|
|
.form-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.file-upload-btn {
|
|
flex: 1;
|
|
background: rgba(6, 182, 212, 0.12);
|
|
border: 1px dashed rgba(6, 182, 212, 0.4);
|
|
border-radius: var(--radius-md);
|
|
padding: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #67E8F9;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.file-upload-btn input {
|
|
display: none;
|
|
}
|
|
|
|
.icon-btn {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
color: #F87171;
|
|
width: 44px;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.photo-preview-box {
|
|
position: relative;
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
margin-bottom: 14px;
|
|
max-height: 180px;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.photo-preview-box img {
|
|
width: 100%;
|
|
height: 180px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.badge-attached {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
background: rgba(16, 185, 129, 0.9);
|
|
color: white;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary {
|
|
width: 100%;
|
|
background: linear-gradient(135deg, #4F46E5, #6366F1);
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
padding: 14px;
|
|
color: white;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* Result Canvas */
|
|
.result-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.gold-badge {
|
|
background: rgba(229, 184, 58, 0.15);
|
|
border: 1px solid var(--gold-primary);
|
|
color: var(--gold-primary);
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.canvas-wrapper {
|
|
width: 100%;
|
|
aspect-ratio: 1/1;
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
margin-bottom: 14px;
|
|
border: 1px solid rgba(229, 184, 58, 0.3);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.action-buttons-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-action {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.success-btn {
|
|
background: var(--emerald);
|
|
color: white;
|
|
}
|
|
|
|
.whatsapp-btn {
|
|
background: var(--whatsapp);
|
|
color: white;
|
|
}
|
|
|
|
.btn-action:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
/* Apps Grid */
|
|
.section-title-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-title-row h2 {
|
|
font-size: 17px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.badge-count {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.apps-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.app-card {
|
|
background: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.app-card:active {
|
|
transform: scale(0.98);
|
|
border-color: var(--indigo-primary);
|
|
}
|
|
|
|
.app-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: rgba(99, 102, 241, 0.12);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.app-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.app-title-row h3 {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tag-gem {
|
|
background: rgba(99, 102, 241, 0.2);
|
|
color: #A5B4FC;
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
padding: 2px 5px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.app-info p {
|
|
font-size: 12.5px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.meta-tag {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Replies Card */
|
|
.reply-block {
|
|
background: rgba(10, 14, 20, 0.6);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: var(--radius-md);
|
|
padding: 14px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.reply-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.reply-header h4 {
|
|
font-size: 13px;
|
|
color: var(--gold-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.copy-chip-btn {
|
|
background: rgba(229, 184, 58, 0.15);
|
|
border: 1px solid rgba(229, 184, 58, 0.3);
|
|
color: var(--gold-primary);
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.reply-content {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Status Messages */
|
|
.status-msg {
|
|
font-size: 12px;
|
|
margin-top: 10px;
|
|
font-weight: 600;
|
|
color: #F472B6;
|
|
}
|
|
|
|
.hint-text {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.info-card {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.safari-hint {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
border-left: 3px solid var(--indigo-primary);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: #C7D2FE;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Bottom Navigation (iOS Style) */
|
|
.bottom-nav {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
background: rgba(14, 19, 27, 0.88);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border-top: 1px solid var(--card-border);
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 8px 10px calc(env(safe-area-inset-bottom, 10px) + 6px) 10px;
|
|
}
|
|
|
|
.nav-item {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
cursor: pointer;
|
|
flex: 1;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.nav-icon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.nav-label {
|
|
font-size: 10.5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nav-item.active {
|
|
color: var(--gold-primary);
|
|
}
|
|
|
|
.nav-item.active .nav-icon {
|
|
transform: translateY(-2px);
|
|
}
|