Py-detect / src /app /validationpage /validationpage.component.css
Oviya
all update
463dbc3
raw
history blame
2.39 kB
/* Professional, modern look for validation results */
.validation-result-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background: linear-gradient(120deg, #23272b 0%, #38bdf8 100%);
position: relative;
}
h2 {
font-size: 2.6rem;
font-weight: 900;
color: #e3f6ff;
margin-bottom: 32px;
letter-spacing: 2px;
text-shadow: 0 2px 16px #1e293b88;
}
.percentage-box {
background: rgba(30,41,59,0.92);
border-radius: 18px;
box-shadow: 0 8px 32px rgba(30,41,59,0.48), 0 0 24px #38bdf844;
border: 3px solid #38bdf8;
padding: 48px 64px;
min-width: 340px;
max-width: 480px;
display: flex;
flex-direction: column;
align-items: center;
gap: 32px;
}
.percentage-box p {
font-size: 2.2rem;
font-weight: 700;
color: #bae6fd;
margin: 0;
letter-spacing: 1px;
text-shadow: 0 0 8px #38bdf888;
}
.percentage-box p strong {
color: #38bdf8;
font-size: 2.3rem;
font-weight: 900;
margin-right: 12px;
}
/* Add a subtle animation for result appearance */
.validation-result-container {
animation: fadeInUp 0.8s cubic-bezier(.39,.58,.57,1) both;
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(40px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.global-bottom-left-btn {
position: fixed;
left: 32px;
bottom: 32px;
z-index: 1000;
margin: 0;
box-shadow: 0 0 32px #38bdf888, 0 2px 24px #22222288;
}
.back-btn {
font-family: 'Montserrat', 'Poppins', 'Arial Black', Arial, sans-serif;
font-size: 1.05rem;
font-weight: 700;
letter-spacing: 2px;
background: linear-gradient(90deg, #38bdf8 0%, #23272b 100%);
color: #e3f6ff;
box-shadow: 0 2px 16px #38bdf888;
border: none;
border-radius: 12px;
padding: 0.55rem 1.3rem;
margin: 0 0.3rem;
cursor: pointer;
transition: background 0.4s, box-shadow 0.4s, color 0.3s, transform 0.2s;
position: fixed;
left: 24px;
bottom: 24px;
z-index: 1000;
overflow: hidden;
animation: buttonPulse 1.2s infinite alternate;
}
.back-btn:hover {
background: linear-gradient(90deg, #23272b 0%, #38bdf8 100%);
color: #bae6fd;
box-shadow: 0 2px 24px #bae6fd88;
animation: buttonPulse 0.7s;
}
@keyframes buttonPulse {
0% { box-shadow: 0 2px 16px #38bdf888; transform: scale(1); }
100% { box-shadow: 0 2px 32px #bae6fd88; transform: scale(1.07); }
}