
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Mencegah layar geser/terpotong ke kanan */
}








.login-body {
    margin: 0;
    padding: 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 0;
}

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-logo {
    font-size: 24px;
    font-weight: 800;
    color: #4e54c8;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.login-title {
    font-size: 22px;
    color: #2d3436;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #636e72;
}

.login-form {
    text-align: left;
}

.login-group {
    margin-bottom: 20px;
}

.login-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #edeff2;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: #4e54c8;
    outline: none;
    background-color: #fcfdff;
}

.login-btn-submit {
    width: 100%;
    background: #4e54c8;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.login-btn-submit:hover {
    background: #3f44a7;
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
}

.login-footer {
    margin-top: 25px;
    font-size: 14px;
    color: #636e72;
    text-align: center;
}

.login-link {
    color: #4e54c8;
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover {
    text-decoration: underline;
}








.home-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #2d3436;
}

.home-navbar {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #f1f2f6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.home-nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-logo {
    font-size: 24px;
    font-weight: 800;
    color: #4e54c8;
    letter-spacing: -1px;
}

.home-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.home-nav-link {
    text-decoration: none;
    color: #636e72;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.home-nav-link:hover {
    color: #4e54c8;
}

.home-btn-cta-small {
    background: #4e54c8;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.home-btn-cta-small:hover {
    background: #3f44a7;
    box-shadow: 0 4px 12px rgba(78, 84, 200, 0.2);
}

.home-hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    overflow: hidden;
}

.home-hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.home-hero-content {
    flex: 1;
    text-align: left;
}

.home-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: #2d3436;
    margin-bottom: 25px;
}

.home-text-highlight {
    background: linear-gradient(to right, #4e54c8, #1abc9c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero-subtitle {
    font-size: 18px;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 550px;
}

.home-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.home-btn-hero-primary {
    background: #4e54c8;
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(78, 84, 200, 0.3);
    transition: all 0.3s;
}

.home-btn-hero-primary:hover {
    transform: translateY(-5px);
    background: #3f44a7;
    box-shadow: 0 15px 30px rgba(78, 84, 200, 0.4);
}

.home-hero-note {
    font-size: 13px;
    color: #b2bec3;
    margin-left: 5px;
}

.home-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.home-visual-card {
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: rotate(5deg);
    border: 1px solid #f1f2f6;
}

.home-visual-line {
    height: 12px;
    background: #f1f2f6;
    border-radius: 6px;
}

.home-visual-line.short { width: 40%; background: #4e54c8; opacity: 0.3; }
.home-visual-line.long { width: 90%; }
.home-visual-line.medium { width: 70%; }







.step-main-container {
    width: 90%; 
    max-width: 700px;
    margin: 40px auto;
}

.step-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    overflow-x: auto; /* Memungkinkan scroll halus jika layar sangat sempit */
}

.step-progress-item {
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e0;
    text-align: center;
    flex: 1;
    min-width: 45px;
}

.step-progress-item.active { color: #4e54c8; }
.step-progress-item.done { 
    color: #1abc9c; 
    cursor: pointer;
    transition: all 0.2s ease-in-out; 
} 

.step-progress-item.done:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.step-progress-item::before {
    content: attr(data-n);
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    background: #edf2f7;
    border-radius: 50%;
    margin: 0 auto 5px;
    color: #a0aec0;
    transition: all 0.2s ease;
}

.step-progress-item.active::before { background: #4e54c8; color: white; }
.step-progress-item.done::before { background: #1abc9c; color: white; content: '✓'; }






.step1-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #f0f2f5; }
.step1-header { background: white; padding: 15px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.step1-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step1-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step1-user { font-size: 14px; font-weight: 600; color: #636e72; }
.step1-main-container { width: 90%; max-width: 700px; margin: 40px auto; }

.step1-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.step1-card-header { margin-bottom: 30px; }
.step1-card-title { font-size: 24px; color: #2d3436; margin-bottom: 5px; }
.step1-card-subtitle { font-size: 14px; color: #636e72; }
.step1-form-group { margin-bottom: 20px; }
.step1-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #2d3436; }
.step1-input { width: 100%; padding: 12px 15px; border: 2px solid #edeff2; border-radius: 10px; font-size: 15px; }
.step1-input:focus { border-color: #4e54c8; outline: none; }
.step1-nav-btns { display: flex; gap: 15px; margin-top: 30px; }
.step1-btn-next { flex: 2; background: #4e54c8; color: white; border: none; padding: 15px; border-radius: 10px; font-weight: bold; cursor: pointer; }
.step1-btn-back { flex: 1; background: #f1f2f6; color: #636e72; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: bold; font-size: 14px; }







.step2-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #f8f9fc; }
.step2-header { background: white; padding: 15px 0; border-bottom: 1px solid #edf2f7; }
.step2-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step2-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step2-user { font-size: 14px; color: #718096; }
.step2-main-container { width: 90%; max-width: 700px; margin: 40px auto; }

.step2-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.03); }
.step2-card-title { font-size: 24px; color: #1a202c; margin-bottom: 8px; }
.step2-card-subtitle { font-size: 15px; color: #718096; margin-bottom: 30px; }
.step2-form-group { margin-bottom: 25px; }
.step2-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #2d3748; }
.step2-input { width: 100%; padding: 14px 18px; border: 1.5px solid #e2e8f0; border-radius: 12px; font-size: 16px; transition: all 0.2s; }
.step2-input:focus { border-color: #4e54c8; box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.1); outline: none; }
.step2-nav-btns { display: flex; gap: 20px; margin-top: 40px; }
.step2-btn-next { flex: 2; background: #4e54c8; color: white; border: none; padding: 16px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.step2-btn-next:hover { background: #3f44a7; transform: translateY(-2px); }
.step2-btn-back { flex: 1; background: #f7fafc; color: #4a5568; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 600; border: 1px solid #e2e8f0; }







.step3-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #f1f4f8; }
.step3-header { background: #ffffff; padding: 15px 0; border-bottom: 2px solid #e2e8f0; }
.step3-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step3-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step3-user { font-size: 14px; color: #64748b; font-weight: 500; }
.step3-main-container { width: 90%; max-width: 700px; margin: 40px auto; }

.step3-card { background: #ffffff; padding: 40px; border-radius: 24px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.step3-card-title { font-size: 26px; color: #1e293b; margin-bottom: 10px; font-weight: 700; }
.step3-card-subtitle { font-size: 15px; color: #64748b; margin-bottom: 35px; }
.step3-form-group { margin-bottom: 25px; }
.step3-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #334155; }
.step3-input { width: 100%; padding: 14px 18px; border: 2px solid #f1f5f9; border-radius: 12px; font-size: 16px; background: #f8fafc; transition: all 0.3s ease; }
.step3-input:focus { border-color: #4e54c8; background: #ffffff; outline: none; box-shadow: 0 0 0 4px rgba(78, 84, 200, 0.1); }
.step3-nav-btns { display: flex; gap: 20px; margin-top: 40px; }
.step3-btn-next { flex: 2; background: #4e54c8; color: #ffffff; border: none; padding: 16px; border-radius: 14px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.step3-btn-next:hover { background: #3f44a7; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(78, 84, 200, 0.3); }
.step3-btn-back { flex: 1; background: #ffffff; color: #475569; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-weight: 600; border: 2px solid #f1f5f9; transition: 0.3s; }
.step3-btn-back:hover { background: #f8fafc; border-color: #e2e8f0; }







.step4-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #fcfcfd; }
.step4-header { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #f1f1f1; }
.step4-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step4-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step4-user { font-size: 14px; color: #94a3b8; }
.step4-main-container { width: 90%; max-width: 700px; margin: 40px auto; }

.step4-card { background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); text-align: center; }
.step4-card-title { font-size: 24px; color: #1e293b; margin-bottom: 10px; }
.step4-card-subtitle { font-size: 15px; color: #64748b; margin-bottom: 30px; }

.step4-upload-area { border: 2px dashed #e2e8f0; padding: 40px 20px; border-radius: 16px; background: #f8fafc; transition: all 0.3s ease; cursor: pointer; position: relative; }
.step4-upload-area:hover { border-color: #4e54c8; background: #f1f5ff; }
.step4-icon { font-size: 40px; margin-bottom: 15px; }
.step4-label-file { display: block; font-weight: 700; color: #4e54c8; margin-bottom: 5px; cursor: pointer; }
.step4-input-file { opacity: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }
.step4-hint { font-size: 12px; color: #94a3b8; }

.step4-nav-btns { display: flex; gap: 20px; margin-top: 40px; }
.step4-btn-next { flex: 2; background: #4e54c8; color: #fff; border: none; padding: 16px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.step4-btn-back { flex: 1; background: #fff; color: #64748b; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #e2e8f0; font-weight: 600; }







.step5-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #f8fafc; }
.step5-header { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #e2e8f0; }
.step5-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step5-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step5-user { font-size: 14px; color: #64748b; }
.step5-main-container { width: 90%; max-width: 750px; margin: 40px auto; }

.step5-card { background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.step5-card-title { font-size: 24px; color: #1e293b; margin-bottom: 10px; }
.step5-card-subtitle { font-size: 15px; color: #64748b; margin-bottom: 30px; }

.step5-form-group { margin-bottom: 15px; }
.step5-form-row { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }
.step5-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #334155; }
.step5-input { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; transition: 0.2s; }
.step5-input:focus { border-color: #4e54c8; outline: none; background: #f8faff; }

.step5-btn-add { background: #f1f5f9; color: #4e54c8; border: 2px dashed #4e54c8; padding: 12px; width: 100%; border-radius: 10px; font-weight: 700; cursor: pointer; margin-top: 10px; transition: 0.3s; }
.step5-btn-add:hover { background: #eef2ff; }

.step5-nav-btns { display: flex; gap: 20px; margin-top: 40px; }
.step5-btn-next { flex: 2; background: #4e54c8; color: #fff; border: none; padding: 15px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.step5-btn-back { flex: 1; background: #fff; color: #64748b; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #e2e8f0; font-weight: 600; }








.step6-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #fafafa; }
.step6-header { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #eeeeee; }
.step6-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step6-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step6-user { font-size: 14px; color: #999; }
.step6-main-container { width: 90%; max-width: 750px; margin: 40px auto; }

.step6-card { background: #ffffff; padding: 40px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.step6-card-title { font-size: 24px; color: #333; margin-bottom: 8px; }
.step6-card-subtitle { font-size: 14px; color: #777; margin-bottom: 30px; }

.step6-form-group { margin-bottom: 20px; }
.step6-form-row { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.step6-label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 8px; }
.step6-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.step6-input:focus { border-color: #4e54c8; outline: none; }

.step6-btn-add { background: #fff; color: #4e54c8; border: 1px solid #4e54c8; padding: 12px; width: 100%; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.step6-btn-add:hover { background: #4e54c8; color: #fff; }

.step6-nav-btns { display: flex; gap: 20px; margin-top: 40px; }
.step6-btn-next { flex: 2; background: #4e54c8; color: #fff; border: none; padding: 15px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.step6-btn-back { flex: 1; background: #f8f9fa; color: #666; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #ddd; font-weight: 600; }









.step7-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #f4f7f6; }
.step7-header { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #e0e0e0; }
.step7-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step7-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step7-user { font-size: 13px; color: #7f8c8d; }
.step7-main-container { width: 90%; max-width: 650px; margin: 40px auto; }

.step7-card { background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.step7-card-title { font-size: 24px; color: #2c3e50; margin-bottom: 8px; }
.step7-card-subtitle { font-size: 14px; color: #7f8c8d; margin-bottom: 30px; }

.step7-input { width: 100%; padding: 12px 16px; border: 1px solid #dcdde1; border-radius: 10px; font-size: 15px; transition: all 0.2s ease; }
.step7-input:focus { border-color: #4e54c8; outline: none; background: #f9faff; }

.step7-btn-add { background: #f8f9fa; color: #2c3e50; border: 1px solid #dcdde1; padding: 12px; width: 100%; border-radius: 10px; font-weight: 600; cursor: pointer; margin-top: 15px; }
.step7-btn-add:hover { background: #f1f2f6; }

.step7-nav-btns { display: flex; gap: 15px; margin-top: 40px; }
.step7-btn-next { flex: 2; background: #4e54c8; color: #fff; border: none; padding: 16px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.step7-btn-back { flex: 1; background: #fff; color: #7f8c8d; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #dcdde1; font-weight: 600; }








.step8-body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: #fcfcfc; }
.step8-header { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.step8-nav-container { width: 90%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.step8-logo { font-weight: 800; color: #4e54c8; font-size: 20px; }
.step8-user { font-size: 14px; color: #a0a0a0; }
.step8-main-container { width: 90%; max-width: 700px; margin: 40px auto; }

.step8-card { background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.step8-card-title { font-size: 24px; color: #2d3436; margin-bottom: 10px; }
.step8-card-subtitle { font-size: 14px; color: #636e72; margin-bottom: 30px; line-height: 1.5; }
.step8-label { display: block; font-size: 14px; font-weight: 600; color: #2d3436; margin-bottom: 10px; }

.step8-textarea { width: 100%; padding: 15px; border: 2px solid #f1f2f6; border-radius: 12px; font-size: 15px; font-family: inherit; resize: vertical; transition: all 0.3s ease; line-height: 1.6; }
.step8-textarea:focus { border-color: #4e54c8; outline: none; background: #fcfdff; box-shadow: 0 0 0 4px rgba(78, 84, 200, 0.05); }

.step8-nav-btns { display: flex; gap: 20px; margin-top: 40px; }
.step8-btn-next { flex: 2; background: #1abc9c; color: #fff; border: none; padding: 16px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.step8-btn-next:hover { background: #16a085; transform: translateY(-2px); }
.step8-btn-back { flex: 1; background: #fff; color: #636e72; text-decoration: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid #f1f2f6; font-weight: 600; }









.preview-body { background-color: #e0e0e0; margin: 0; padding: 40px 10px; font-family: 'Inter', sans-serif; }

.preview-toolbar { max-width: 210mm; margin: 0 auto 20px auto; display: flex; justify-content: space-between; padding: 0 10px; }
.preview-btn-edit { text-decoration: none; color: #555; font-weight: 600; padding: 10px 15px; background: #fff; border-radius: 8px; font-size: 14px; }
.preview-btn-print { border: none; background: #3498db; color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; margin-right: 10px; }
.preview-btn-save { text-decoration: none; background: #2ecc71; color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 700; }

.preview-paper {
    background: #fff;
    width: 100%;
    max-width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.preview-container { display: flex; min-height: 297mm; }

.preview-sidebar { width: 33%; background-color: #2c3e50; color: #ecf0f1; padding: 40px 25px; }
.preview-photo-box { width: 150px; height: 150px; margin: 0 auto 30px auto; border: 4px solid #34495e; border-radius: 15px; overflow: hidden; background: #34495e; }
.preview-img { width: 100%; height: 100%; object-fit: cover; }
.preview-no-photo { line-height: 150px; text-align: center; color: #7f8c8d; font-weight: bold; }

.preview-side-section { margin-bottom: 35px; }
.preview-side-title { font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; border-bottom: 1px solid #576574; padding-bottom: 8px; margin-bottom: 15px; color: #3498db; font-weight: 800; }
.preview-side-list { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.8; }
.preview-icon { margin-right: 8px; }

.preview-side-item { margin-bottom: 15px; }
.preview-side-bold { font-weight: 700; font-size: 14px; margin: 0; }
.preview-side-text { font-size: 13px; color: #bdc3c7; margin: 2px 0; }
.preview-side-year { font-size: 11px; color: #3498db; font-weight: bold; margin: 0; }

.preview-skill-container { display: flex; flex-wrap: wrap; gap: 8px; }
.preview-skill-pill { background: #34495e; color: #ecf0f1; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; }

.preview-main { width: 67%; padding: 50px 40px; background: #fff; }
.preview-main-header { margin-bottom: 45px; }
.preview-full-name { font-size: 42px; font-weight: 300; color: #2c3e50; margin: 0; letter-spacing: -1px; }
.preview-last-name { font-weight: 800; }
.preview-main-job { font-size: 18px; color: #3498db; font-weight: 600; margin-top: 5px; text-transform: uppercase; letter-spacing: 2px; }

.preview-main-section { margin-bottom: 35px; }
.preview-main-title { font-size: 18px; font-weight: 800; text-transform: uppercase; color: #2c3e50; margin-bottom: 5px; }
.preview-divider { width: 50px; height: 3px; background: #3498db; margin-bottom: 15px; }

.preview-about-text { font-size: 14px; line-height: 1.7; color: #57606f; text-align: justify; }

.preview-exp-item { margin-bottom: 20px; }
.preview-exp-header { display: flex; justify-content: space-between; align-items: baseline; }
.preview-exp-role { font-weight: 700; font-size: 16px; color: #2c3e50; }
.preview-exp-date { font-size: 12px; font-weight: 600; color: #3498db; }
.preview-exp-company { font-size: 14px; color: #747d8c; margin: 3px 0; font-style: italic; }

.btn-home { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background-color: #f1f5f9; color: #0f172a; text-decoration: none; font-weight: bold; font-size: 13px; border-radius: 20px; border: 1px solid #cbd5e1; transition: all 0.2s ease; }
.btn-home:hover { background-color: #e2e8f0; }

.btn-logout { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background-color: #fee2e2; color: #dc2626; text-decoration: none; font-weight: bold; font-size: 13px; border-radius: 20px; border: 1px solid #fca5a5; transition: all 0.2s ease; }
.btn-logout:hover { background-color: #fca5a5; color: #991b1b; }





@media (max-width: 992px) {
    .home-hero-container { flex-direction: column; text-align: center; }
    .home-hero-content { display: flex; flex-direction: column; align-items: center; }
    .home-hero-title { font-size: 36px; }
    .home-hero-visual { display: none; }
}

@media (max-width: 768px) {
    .step1-nav-container,
    .step2-nav-container,
    .step3-nav-container,
    .step4-nav-container,
    .step5-nav-container,
    .step6-nav-container,
    .step7-nav-container,
    .step8-nav-container,
    .home-nav-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-main-container,
    .step1-main-container,
    .step2-main-container,
    .step3-main-container,
    .step4-main-container,
    .step5-main-container,
    .step6-main-container,
    .step7-main-container,
    .step8-main-container {
        width: 95%;
        margin: 20px auto;
    }

    .step1-card, .step2-card, .step3-card, .step4-card,
    .step5-card, .step6-card, .step7-card, .step8-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .step5-form-row, .step6-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-progress-bar {
        padding: 12px 8px;
    }

    .step-progress-item {
        font-size: 8px;
    }

    .step-progress-item::before {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 10px;
    }



    /* Penyesuaian Halaman Preview A4 di Layar HP/Tablet */
    .preview-paper {
        width: 100%;
        min-height: auto;
        box-shadow: none;
    }

    .preview-container {
        flex-direction: column;
        min-height: auto;
    }

    .preview-sidebar, .preview-main {
        width: 100%;
        padding: 25px 20px;
    }

    .preview-toolbar {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .step1-nav-btns, .step2-nav-btns, .step3-nav-btns,
    .step4-nav-btns, .step5-nav-btns, .step6-nav-btns,
    .step7-nav-btns, .step8-nav-btns {
        flex-direction: column;
        gap: 10px;
    }

    .step1-btn-next, .step2-btn-next, .step3-btn-next,
    .step4-btn-next, .step5-btn-next, .step6-btn-next,
    .step7-btn-next, .step8-btn-next,
    .step1-btn-back, .step2-btn-back, .step3-btn-back,
    .step4-btn-back, .step5-btn-back, .step6-btn-back,
    .step7-btn-back, .step8-btn-back {
        width: 100%;
        padding: 14px;
    }
}

/* PRINT SETTINGS */
@media print {
    body { background: none; padding: 0; }
    .preview-toolbar { display: none; }
    .preview-paper { box-shadow: none; margin: 0; width: 100%; border: none; }
    .preview-sidebar { -webkit-print-color-adjust: exact; background-color: #2c3e50 !important; }
}