Gigishot's picture
Upload 23 files
5c9ce3f verified
Raw
History Blame Contribute Delete
4.53 kB
body {
background: url("/static/bgpo.jpeg") no-repeat center center fixed;
background-size: cover;
color: #060721;
font-family: 'Segoe UI', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
margin: 0;
}
h1{
font-size: 32px;
color: #0d333f;
font-family: "Segoe UI", sans-serif;
text-align: center;
margin-bottom: 3px;
}
h2 {
font-size: 20px;
color: #33a6cc;
font-family: "Segoe UI", sans-serif;
margin-bottom: 20px;
}
.upload-box {
background-color: #dafffc2a;
border-radius: 15px;
padding: 40px 30px;
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
display: inline-block;
box-shadow: 0 0 20px rgba(90, 90, 255, 0.3);
max-width: 500px;
width: 100%;
border: none;
border-radius: 25px;
border-color: 2px, #e2fdff;
}
.drop-area {
border: 2px dashed #61ddff;
padding: 40px 20px;
border-radius: 12px;
display: block;
cursor: pointer;
transition: 0.3s;
text-align: center;
box-shadow: 0 0 10px #a0ccff88;
}
.drop-area:hover {
background: #ffe8b62f;
box-shadow: 0 0 10px #58a6ff88;
}
.drop-area p {
font-size: 16px;
margin-bottom: 20px;
color: rgba(46, 46, 46, 0.927);
font-weight: 600;
}
input[type="file"] {
display: none;
}
.upload-btn {
padding: 12px 25px;
border: none;
border-radius: 25px;
background: linear-gradient(to right, #3b82f6, #06b6d4);
color: white;
font-weight: bold;
cursor: pointer;
font-size: 16px;
transition: 0.3s ease;
box-shadow: 0 0 15px #3b82f688;
margin-top: 20px;
}
.upload-btn:hover {
transform: scale(1.05);
box-shadow: 0 0 25px #3b82f6aa;
}
.note {
font-size: 14px;
margin-top: 25px;
color: #575757;
text-align: center;
}
.note span {
background: #21262d;
padding: 5px 10px;
border-radius: 8px;
margin: 0 5px;
color: #58a6ff;
font-weight: bold;
font-size: 13px;
}
.sample-images {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 15px;
}
.sample-images img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
cursor: pointer;
border: 1px #d9efff solid;
box-shadow: #00395d88;
}
/* Reset + Base */
.result-body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', sans-serif;
background: #ffffff;
color: #0d1b2a;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* Main Container */
.container {
text-align: center;
max-width: 500px;
width: 90%;
padding: 30px 25px;
background: rgba(255, 255, 255, 0.85);
border-radius: 20px;
box-shadow: 0 8px 30px rgba(0, 170, 255, 0.15);
backdrop-filter: blur(8px);
}
/* Glowing Heading */
.glow-heading {
font-size: 1.9rem;
color: #00395d;
text-shadow: 0 0 5px rgba(0, 170, 255, 0.3);
margin-bottom: 25px;
}
/* Image Preview */
.preview-img {
width: 100%;
max-height: 300px;
object-fit: contain;
border-radius: 12px;
border: 2px dashed #00bfff;
padding: 8px;
background: #f0faff;
box-shadow: 0 4px 20px rgba(0, 170, 255, 0.1);
}
/* Card Box */
.card-glow {
background: #f9fdff;
border-radius: 15px;
padding: 20px;
margin-top: 15px;
border: 1px solid #cceeff;
box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
}
/* Result Text */
.result-info {
margin-top: 15px;
font-size: 1rem;
color: #002b4a;
}
.highlight {
color: #ff4081;
font-weight: bold;
text-shadow: 0 0 3px rgba(255, 64, 129, 0.2);
}
.confidence {
color: #ffa500;
font-weight: bold;
text-shadow: 0 0 3px rgba(255, 165, 0, 0.2);
}
/* Glowing Button */
.glow-button {
display: inline-block;
margin-top: 30px;
padding: 12px 30px;
background: linear-gradient(145deg, #00cfff, #00aaff);
color: #fff;
border: none;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
transition: all 0.3s ease-in-out;
}
.glow-button:hover {
background: #009fe3;
box-shadow: 0 8px 20px rgba(0, 170, 255, 0.5);
}