.error-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.error-message {
    margin: 0;
    max-width: 320px;
    flex: 0 1 320px;
}

.auth-footer {
    margin-top: 0;
    display: flex;
    align-items: center;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    min-height: 600px;
}

.auth-section {
    padding: 50px 40px;
    text-align: center;
}

.logo {
    font-size: 4rem;
    margin-bottom: 20px;
}

.auth-section h1 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 600;
}

.subtitle {
    color: #718096;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.input-group {
    margin: 30px 0;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.status-bubble {
    margin: 26px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(224, 242, 255, 0.92), rgba(198, 221, 255, 0.9));
    border: 1px solid rgba(99, 179, 237, 0.35);
    box-shadow: 0 18px 38px rgba(99, 179, 237, 0.2);
    backdrop-filter: blur(14px);
    color: #2b6cb0;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    max-width: 420px;
    justify-content: center;
}

.status-bubble .status-icon {
    font-size: 1.1rem;
}

.status-bubble.error {
    background: linear-gradient(135deg, rgba(254, 215, 215, 0.9), rgba(252, 129, 129, 0.85));
    border: 1px solid rgba(252, 129, 129, 0.45);
    box-shadow: 0 18px 38px rgba(245, 101, 101, 0.22);
    color: #c53030;
}

.status-bubble .status-text {
    display: inline-block;
}

.resume-section {
    padding: 40px;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f7fafc;
}

.header-content h1 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.header-content h2 {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 400;
}


.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.resume-content h3 {
    color: #2d3748;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    font-size: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 0.95rem;
}

.experience-item,
.education-item,
.project-item {
    margin: 20px 0;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.experience-header,
.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.experience-company,
.education-school {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.experience-period,
.education-period {
    color: #718096;
    font-size: 0.9rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.skill-category {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.skill-category h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.achievement-list {
    list-style: none;
    margin: 10px 0;
}

.achievement-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.achievement-list li:before {
    content: "✓";
    color: #48bb78;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 15px;
    }

    .auth-section,
    .resume-section {
        padding: 30px 20px;
    }

    .resume-header {
        flex-direction: column;
        gap: 20px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

.status-bubble {
    max-width: 100%;
    justify-content: center;
    text-align: center;
}
}

