:root {
--primary: var(--primary);
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--info: #3b82f6;
--dark: var(--text);
--light: var(--bg-hover);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 40px;
color: white;
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.header p {
font-size: 1.2rem;
opacity: 0.9;
}
.dashboard {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: white;
border-radius: 15px;
padding: 25px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card-header {
display: flex;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid var(--light);
}
.card-icon {
font-size: 2rem;
margin-right: 15px;
}
.card-title {
font-size: 1.5rem;
font-weight: 600;
color: var(--dark);
}
.card-content {
color: #4b5563;
line-height: 1.6;
}
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-top: 15px;
}
.stat-item {
text-align: center;
padding: 15px;
background: var(--light);
border-radius: 10px;
}
.stat-value {
font-size: 2rem;
font-weight: 700;
color: var(--primary);
}
.stat-label {
font-size: 0.9rem;
color: var(--text-secondary);
margin-top: 5px;
}
.upload-area {
border: 3px dashed var(--primary);
border-radius: 15px;
padding: 40px;
text-align: center;
background: rgba(102, 126, 234, 0.05);
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 30px;
}
.upload-area:hover {
background: rgba(102, 126, 234, 0.1);
border-color: var(--info);
}
.upload-icon {
font-size: 3rem;
color: var(--primary);
margin-bottom: 15px;
}
.upload-text {
font-size: 1.2rem;
color: var(--dark);
margin-bottom: 10px;
}
.upload-hint {
color: var(--text-secondary);
font-size: 0.9rem;
}
.analysis-results {
margin-top: 30px;
}
.result-section {
background: white;
border-radius: 15px;
padding: 25px;
margin-bottom: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.result-title {
font-size: 1.3rem;
font-weight: 600;
color: var(--dark);
margin-bottom: 15px;
display: flex;
align-items: center;
}
.result-title i {
margin-right: 10px;
font-size: 1.5rem;
}
.skill-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
}
.skill-tag {
background: var(--primary);
color: white;
padding: 8px 15px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
}
.match-score {
font-size: 3rem;
font-weight: 700;
text-align: center;
color: var(--success);
margin: 20px 0;
}
.recommendations {
background: linear-gradient(135deg, var(--success), var(--info));
color: white;
border-radius: 15px;
padding: 25px;
margin-top: 30px;
}
.recommendation-item {
display: flex;
align-items: flex-start;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(255,255,255,0.2);
}
.recommendation-item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.rec-icon {
font-size: 1.5rem;
margin-right: 15px;
margin-top: 3px;
}
.rec-content {
flex: 1;
}
.rec-title {
font-weight: 600;
margin-bottom: 5px;
}
.rec-desc {
opacity: 0.9;
font-size: 0.95rem;
}
.btn {
background: var(--primary);
color: white;
border: none;
padding: 12px 25px;
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.btn:hover {
background: var(--info);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn-secondary {
background: var(--light);
color: var(--dark);
}
.btn-secondary:hover {
background: var(--border);
}
.footer {
text-align: center;
margin-top: 40px;
color: white;
opacity: 0.8;
font-size: 0.9rem;
}
@media (max-width: 768px) {
.header h1 {
font-size: 2rem;
}
.dashboard {
grid-template-columns: 1fr;
}
.card {
padding: 20px;
}
}
