File size: 7,019 Bytes
58ef7d4
 
ee76f73
 
 
 
 
 
 
58ef7d4
 
 
 
564b04a
 
 
58ef7d4
 
 
 
 
 
 
 
 
 
564b04a
 
 
 
 
 
 
 
 
 
 
 
58ef7d4
ee76f73
58ef7d4
ee76f73
 
 
 
 
58ef7d4
 
 
 
ee76f73
58ef7d4
 
 
 
 
 
ee76f73
 
58ef7d4
 
 
 
 
abed01f
58ef7d4
 
abed01f
58ef7d4
abed01f
 
58ef7d4
ee76f73
58ef7d4
ee76f73
58ef7d4
 
 
 
 
ee76f73
58ef7d4
 
 
 
 
ee76f73
 
58ef7d4
 
 
ee76f73
 
 
58ef7d4
 
abed01f
58ef7d4
 
 
 
 
 
 
 
 
abed01f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* Consolidated styles extracted from the original template */
:root {
    --primary: #2f7a3e;
    --secondary: #6cc06a;
    --dark: #0f172a;
    --light: #f8faf6;
    --card-bg: rgba(255,255,255,0.92);
    --card-border: rgba(15,23,42,0.06);
    --muted: #6b7280;
}

body {
    font-family: 'Quicksand', sans-serif;
    /* Replaced heavy bg.png with a lightweight CSS gradient + subtle radial texture for better visibility */
    background: linear-gradient(180deg, #f6fbf6 0%, #eaf6ee 50%, #f8fff9 100%);
    color: #0f172a;
    text-align: center;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* subtle decorative overlay to mimic texture without binary images */
body::before {
    content: '';
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.6;
    mix-blend-mode: overlay;
}

.main-container { display:flex; flex-direction:column; gap:25px; width:100%; max-width:1200px; padding:20px }
.container { background: var(--card-bg); border-radius:20px; padding:40px; border:1px solid var(--card-border); color:var(--dark) }
.link-container { display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap:20px; width:100% }
.function-box { background: #ffffff; box-shadow: 0 6px 18px rgba(15,23,42,0.04); cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:180px; padding:25px; border-radius:18px; border:1px solid var(--card-border); position:relative; overflow:hidden }
.function-box:hover { transform:translateY(-5px) scale(1.02); box-shadow: 0 12px 30px rgba(15,23,42,0.06); }
.function-box h2 { font-size:1.6em; margin-bottom:12px; z-index:2; color:var(--dark); }
.function-box p { font-size:0.95em; opacity:0.95; margin-top:0; z-index:2; color:var(--muted) }
.output-container { display:none; margin-top:20px; padding:18px; background: #ffffff; border-radius:12px; text-align:left; max-height:300px; overflow-y:auto; width:100%; border-left:3px solid var(--primary); box-shadow:0 6px 18px rgba(15,23,42,0.04) }

.output-container { position:relative }

/* Top-right download icon inside the output container */
.download-icon { position:absolute; top:10px; right:10px; width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; background: rgba(15,23,42,0.06); color:var(--dark); border-radius:8px; text-decoration:none; border:1px solid rgba(15,23,42,0.04) }
.download-icon i { font-size:16px }

/* Ensure output content has padding to avoid overlapping the icon */
.output-container .content-inner { padding-top:8px }

/* Footer */
.site-footer { width:100%; max-width:1200px; margin:24px auto 8px; color:var(--muted); font-size:0.9rem }
.site-footer .footer-inner { background: #ffffff; padding:10px 16px; border-radius:12px; display:inline-flex; gap:8px; align-items:center; box-shadow:0 6px 18px rgba(15,23,42,0.04); border:1px solid var(--card-border) }
.site-footer .heart { color:#ff6b6b; margin:0 4px }
.site-footer .sep { opacity:0.6 }
.loading { display:none; margin-top:10px }

/* Spinner */
.spinner { width:32px; height:32px; border-radius:50%; border:4px solid rgba(15,23,42,0.06); border-top-color: var(--primary); animation: spin 1s linear infinite; margin:8px auto }
@keyframes spin { to { transform: rotate(360deg); } }

function-box .meta { position:absolute; top:12px; right:12px; font-size:0.85rem; color: var(--muted) }

/* When disabled, still allow hover/click to show helpful message; use not-allowed cursor */
.function-box.disabled { opacity:0.62; transform:none; cursor:not-allowed; pointer-events:auto }

.badge { display:inline-block; background: rgba(15,23,42,0.04); color: var(--dark); padding:6px 10px; border-radius:999px; margin-right:8px; font-size:0.8rem; border:1px solid rgba(15,23,42,0.04) }

.demo-btn { background: linear-gradient(90deg,var(--primary),var(--secondary)); padding:10px 16px; border-radius:10px; margin-left:8px; color:white }
.demo-btn { position: relative; padding-right:44px }
.demo-btn-wrap { display:inline-block; position:relative }
.demo-download-icon { position:absolute; right:6px; top:50%; transform:translateY(-50%); width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; background: rgba(0,0,0,0.28); color:#fff; border-radius:8px; border:1px solid rgba(255,255,255,0.06); text-decoration:none }
.demo-download-icon i { font-size:14px }

.error-message { color: #9b1c1c; background: rgba(255,0,0,0.06); padding:10px; border-radius:8px }

.download-btn { display:inline-flex; align-items:center; justify-content:center; padding:10px 20px; margin-top:15px; border-radius:8px; background: linear-gradient(135deg,var(--primary),var(--secondary)); color:white; font-weight:600; text-decoration:none }

/* Upload container */
.upload-container { background:var(--glass); backdrop-filter: blur(12px); border-radius:20px; padding:30px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); border:1px solid var(--glass-border); max-width:500px; margin:0 auto }
input[type=file] { margin:20px 0; padding:15px; border:2px dashed rgba(15,23,42,0.08); border-radius:10px; background: transparent; color:var(--dark); width:80%; max-width:400px }
.button, button { padding:12px 25px; margin:10px; border:none; border-radius:10px; background: linear-gradient(45deg,var(--primary),var(--secondary)); color:white; cursor:pointer }
.download-btn { display:inline-flex; align-items:center; justify-content:center; padding:10px 20px; margin-top:15px; border-radius:8px; background: linear-gradient(135deg,var(--primary),var(--secondary)); color:white; font-weight:600 }

/* Navbar */
.navbar { backdrop-filter: blur(6px); background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85)); border-radius:1rem; margin:1.2rem auto; max-width:1200px; padding:0.8rem 3rem; display:flex; align-items:center; justify-content:space-between; box-shadow: 0 6px 24px rgba(15,23,42,0.04); border:1px solid var(--card-border) }
.navbar .title { font-size:1.6rem; font-weight:700; display:flex; align-items:center; gap:0.6rem; color:var(--dark) }
.tagline { font-size:0.95rem; color: var(--muted); margin-top:4px }

.box-badges { position:absolute; left:16px; top:12px; display:flex; gap:8px }
.box-badges .badge { background: rgba(15,23,42,0.04); color:var(--muted); padding:6px 10px; border-radius:999px; font-size:0.75rem; border:1px solid rgba(15,23,42,0.04) }

/* Small responsive tweaks */
@media (max-width:600px){ .navbar{flex-direction:column;align-items:flex-start} }

/* Misc */
.notification{position:fixed;top:16px;right:16px;background:#4CAF50;padding:10px 14px;border-radius:8px;display:none}
.notification.show{display:block}

/* preserve small helper classes used by template */
.file-name{margin-top:8px;color:var(--dark);font-weight:600}