Anjay / public /styles.css
maylinejix's picture
Upload 7 files
50c1c55 verified
/* styles.css - Complete Styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #1e293b 0%, #1e40af 50%, #1e293b 100%);
min-height: 100vh;
color: #f8fafc;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.verify-container {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
flex-wrap: wrap;
gap: 1rem;
}
.title {
font-size: 2.5rem;
font-weight: 700;
color: #fff;
margin-bottom: 0.5rem;
}
.title i {
color: #60a5fa;
margin-right: 0.5rem;
}
.subtitle {
color: #93c5fd;
font-size: 1.1rem;
}
.btn {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 0.5rem;
font-size: 1rem;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s;
font-weight: 600;
}
.btn i {
font-size: 1.1rem;
}
.btn-primary {
background: #2563eb;
color: white;
}
.btn-primary:hover {
background: #1d4ed8;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.btn-secondary {
background: #475569;
color: white;
}
.btn-secondary:hover {
background: #334155;
box-shadow: 0 4px 12px rgba(71, 85, 105, 0.4);
}
.btn-danger {
background: #dc2626;
color: white;
}
.btn-danger:hover {
background: #b91c1c;
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.btn-success {
background: #16a34a;
color: white;
}
.btn-success:hover {
background: #15803d;
box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}
.btn-full {
width: 100%;
justify-content: center;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}
.card {
background: rgba(30, 41, 59, 0.6);
backdrop-filter: blur(10px);
border: 1px solid rgba(148, 163, 184, 0.3);
border-radius: 1rem;
padding: 1.5rem;
transition: all 0.3s;
}
.card:hover {
border-color: #3b82f6;
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}
.verify-card {
max-width: 600px;
width: 100%;
}
.card-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #fff;
display: flex;
align-items: center;
gap: 0.5rem;
}
.card-title i {
color: #60a5fa;
}
.card-header {
display: flex;
justify-content: space-between;
align-items: start;
margin-bottom: 1rem;
}
.badge {
background: #2563eb;
color: white;
font-size: 0.75rem;
padding: 0.25rem 0.75rem;
border-radius: 0.25rem;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.card-text {
color: #cbd5e1;
font-size: 0.9rem;
margin-bottom: 1rem;
word-break: break-all;
display: flex;
align-items: center;
gap: 0.5rem;
}
.card-text i {
color: #60a5fa;
flex-shrink: 0;
}
.code-box {
background: #0f172a;
color: #60a5fa;
padding: 0.75rem;
border-radius: 0.5rem;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.code-box i {
color: #93c5fd;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: #e2e8f0;
font-weight: 500;
display: flex;
align-items: center;
gap: 0.5rem;
}
.form-group label i {
color: #60a5fa;
}
.input {
width: 100%;
padding: 0.75rem;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.3);
border-radius: 0.5rem;
color: #fff;
font-size: 1rem;
transition: all 0.3s;
}
.input:focus {
outline: none;
border-color: #3b82f6;
background: rgba(15, 23, 42, 0.8);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.input::placeholder {
color: #64748b;
}
.help-text {
display: block;
margin-top: 0.5rem;
color: #94a3b8;
font-size: 0.875rem;
}
.switch-label {
display: flex;
justify-content: space-between;
align-items: center;
}
.switch-label span {
display: flex;
align-items: center;
gap: 0.5rem;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #475569;
transition: 0.4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
transition: 0.4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #2563eb;
}
input:checked + .slider:before {
transform: translateX(26px);
}
.loading {
text-align: center;
padding: 3rem;
color: #94a3b8;
font-size: 1.1rem;
}
.loading i {
display: block;
margin: 0 auto 1rem;
color: #60a5fa;
}
.loading p {
margin-top: 1rem;
}
.empty-state {
text-align: center;
padding: 4rem 2rem;
color: #64748b;
}
.empty-state-icon {
font-size: 4rem;
margin-bottom: 1rem;
color: #475569;
}
.empty-state-icon i {
color: #475569;
}
.alert {
position: fixed;
top: 20px;
right: 20px;
background: #1e293b;
border: 2px solid;
border-radius: 0.75rem;
padding: 1rem 1.5rem;
max-width: 400px;
display: flex;
align-items: center;
gap: 1rem;
animation: slideIn 0.3s ease-out;
z-index: 1000;
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.alert-success {
border-color: #16a34a;
}
.alert-error {
border-color: #dc2626;
}
.alert-info {
border-color: #2563eb;
}
.alert-icon {
font-size: 1.5rem;
}
.alert-success .alert-icon {
color: #16a34a;
}
.alert-error .alert-icon {
color: #dc2626;
}
.alert-info .alert-icon {
color: #2563eb;
}
.alert-close {
background: none;
border: none;
color: #fff;
font-size: 1.2rem;
cursor: pointer;
margin-left: auto;
padding: 0;
line-height: 1;
transition: all 0.3s;
}
.alert-close:hover {
color: #cbd5e1;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.upload-area {
border: 2px dashed rgba(148, 163, 184, 0.3);
border-radius: 0.75rem;
padding: 3rem 2rem;
text-align: center;
cursor: pointer;
transition: all 0.3s;
background: rgba(15, 23, 42, 0.3);
}
.upload-area:hover {
border-color: #3b82f6;
background: rgba(37, 99, 235, 0.1);
}
.upload-area.dragover {
border-color: #3b82f6;
background: rgba(37, 99, 235, 0.2);
transform: scale(1.02);
}
.upload-icon {
margin-bottom: 1rem;
color: #60a5fa;
}
.file-input {
display: none;
}
.verify-title {
font-size: 2rem;
margin-bottom: 1rem;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
}
.verify-title i {
color: #60a5fa;
}
.verify-subtitle {
color: #cbd5e1;
text-align: center;
margin-bottom: 2rem;
line-height: 1.6;
}
.verify-subtitle a {
color: #60a5fa;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.verify-subtitle a:hover {
text-decoration: underline;
}
.countdown {
text-align: center;
font-size: 3rem;
color: #3b82f6;
font-weight: 700;
margin: 2rem 0;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
@media (max-width: 768px) {
.title {
font-size: 2rem;
}
.header {
flex-direction: column;
align-items: stretch;
}
.grid {
grid-template-columns: 1fr;
}
.alert {
right: 10px;
left: 10px;
max-width: none;
}
.countdown {
font-size: 2rem;
}
.verify-title {
font-size: 1.5rem;
}
}