126 lines
2.2 KiB
CSS
126 lines
2.2 KiB
CSS
:root {
|
|
--primary-color: #e63946;
|
|
--bg-color: #ffffff;
|
|
--text-color: #2d3436;
|
|
--secondary-text: #636e72;
|
|
--border-color: #eee;
|
|
--font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
font-family: var(--font-family);
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.container {
|
|
max-width: 500px;
|
|
width: 90%;
|
|
text-align: center;
|
|
padding: 2rem;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.5rem;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.image-preview-container {
|
|
width: 100%;
|
|
height: 250px;
|
|
background-color: #f8f9fa;
|
|
border: 2px dashed var(--border-color);
|
|
border-radius: 8px;
|
|
margin-bottom: 1.5rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.image-preview-container img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: none;
|
|
}
|
|
|
|
.image-preview-container .placeholder-text {
|
|
color: var(--secondary-text);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-top: 2rem;
|
|
position: relative;
|
|
min-height: 60px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.75rem 1.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
border-radius: 6px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: transform 0.1s ease, font-size 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-yes {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
z-index: 10;
|
|
}
|
|
|
|
.btn-no {
|
|
background-color: #f1f2f6;
|
|
color: var(--text-color);
|
|
position: relative;
|
|
}
|
|
|
|
#success-message {
|
|
display: none;
|
|
animation: fadeIn 0.8s ease forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.success-text {
|
|
font-size: 1.25rem;
|
|
line-height: 1.6;
|
|
color: var(--primary-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.redirect-hint {
|
|
margin-top: 1rem;
|
|
font-size: 0.85rem;
|
|
color: var(--secondary-text);
|
|
}
|
|
|
|
#image-input {
|
|
display: none;
|
|
} |