@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family:
"Inter", "Segoe UI", "Arial", sans-serif;
background-color: #ffffff;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.top-bar {
height: 50px;
background: linear-gradient(135deg, #003366 0%, #004488 100%);
width: 100%;
display: flex;
}
#struktur-container {
background-color: #ffffff;
min-height: calc(100vh - 50px);
}
.sub-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 50px 50px 50px 50px;
background-color: #ffffff;
}
.header-title h1 {
font-family: "Poppins", sans-serif;
font-size: 22px;
font-weight: 600;
color: #3636cc;
margin-bottom: 3px;
}
.header-title h2 {
font-family: "Poppins", sans-serif;
font-size: 13px;
font-weight: 500;
color: #555555;
letter-spacing: 0.5px;
}
.header-actions {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
}
.action-link {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 20px;
margin-left: 10px;
background-color: white;
color: #0055aa;
border: 2px solid #0055aa;
border-radius: 50px;
text-decoration: none;
font-size: 14px;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
gap: 8px;
}
.action-link:hover {
background-color: #0055aa;
color: white;
text-decoration: none;
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0, 85, 170, 0.25);
}
.action-link:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.action-link svg {
width: 18px;
height: 18px;
fill: currentColor;
transition: fill 0.3s ease;
}
.floating-contact {
position: fixed;
bottom: 80px;
right: 30px;
z-index: 9999;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
}
.floating-contact:hover {
transform: scale(1.05);
}
.floating-contact img {
width: 150px;
height: auto;
display: block;
}
.floating-text {
font-size: 11px;
font-weight: 700;
color: #003366;
text-align: center;
margin-bottom: 5px;
line-height: 1.2;
background-color: rgba(255, 255, 255, 0.8);
padding: 4px 8px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.floating-contact {
bottom: 20px;
right: 20px;
}
.floating-contact img {
width: 100px;
}
.floating-text {
font-size: 9px;
max-width: 120px;
}
}
.footer-line {
height: 8px;
background: linear-gradient(135deg, #003366 0%, #004488 100%);
width: 100%;
margin-top: 20px;
}
.tree-wrapper {
background-color: #ffffff;
padding: 30px 5px 40px;
min-height: 400px;
overflow-x: auto;
}
#panel-struktur {
flex: 1;
}
#panel-kepegawaian {
flex: 1;
}
.admin-panel-section {
width: 100%;
flex: 1;
}
.tree {
display: flex;
justify-content: center;
width: 100%;
min-width: fit-content;
}
.tree ul {
padding: 20px 0 0 0 !important;
margin: 0 !important;
position: relative;
transition: all 0.5s;
display: flex;
justify-content: center;
align-items: flex-start;
list-style: none;
}
.tree li {
text-align: center;
list-style-type: none;
position: relative;
padding: 20px 2px 0 2px !important;
margin: 0 !important;
transition: all 0.5s;
display: flex;
flex-direction: column;
align-items: center;
}
.tree li::before,
.tree li::after {
content: "";
position: absolute;
top: 0;
right: 50%;
border-top: 2px solid #333333;
width: 50%;
height: 15px;
}
.tree li::after {
right: auto;
left: 50%;
border-left: 2px solid #333333;
}
.tree li:only-child::after,
.tree li:only-child::before {
display: none;
}
.tree li:only-child {
padding-top: 0;
}
.tree li:first-child::before,
.tree li:last-child::after {
border: 0 none;
}
.tree li:last-child::before {
border-right: 2px solid #333333;
border-radius: 0 5px 0 0;
}
.tree li:first-child::after {
border-radius: 5px 0 0 0;
}
.tree ul ul::before {
content: "";
position: absolute;
top: 0;
left: 50%;
border-left: 2px solid #333333;
width: 0;
height: 20px;
}
.tree > ul > li::before,
.tree > ul > li::after {
display: none;
}
.tree > ul > li {
padding-top: 0;
}
.tree ul.staff-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2px;
justify-items: center;
align-items: start;
background-color: rgba(240, 248, 255, 0.5);
border: 2px dashed #a0c4ff;
border-radius: 20px;
padding: 10px;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
position: relative;
width: fit-content;
max-width: 100%;
}
@media (max-width: 600px) {
.tree ul.staff-container {
grid-template-columns: repeat(2, 95px);
}
}
.tree ul.staff-container::before,
.tree ul.staff-container li::before,
.tree ul.staff-container li::after {
display: none !important;
}
.tree ul.staff-container li {
padding: 0;
margin: 0;
}
.org-card {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 100px;
height: 170px;
text-decoration: none;
color: #333;
transition: all 0.4s ease;
z-index: 1;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.img-container {
width: 60px;
height: 60px;
min-width: 60px;
min-height: 60px;
flex-shrink: 0;
border-radius: 50%;
border: 2px solid #0088cc;
overflow: hidden;
background: #fff;
transition: all 0.4s ease;
position: relative;
z-index: 2;
box-shadow: 0 2px 8px rgba(0, 136, 204, 0.2);
}
.img-container img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.card-info {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 5px;
width: 100%;
}
.nama-person {
font-weight: 600;
color: #1a1a2e;
font-size: 10px;
margin-bottom: 4px;
padding: 0 2px;
line-height: 1.3;
text-align: center;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
}
.jabatan-badge {
background: linear-gradient(135deg, #0055aa 0%, #0077cc 100%);
color: white;
padding: 4px 6px;
border-radius: 12px;
font-size: 8px;
font-weight: bold;
text-transform: uppercase;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 6px rgba(0, 85, 170, 0.3);
max-width: 95px;
height: 40px;
line-height: 1.2;
transition: all 0.4s ease;
}
.org-card.card-large {
width: 130px;
height: 220px;
}
.org-card.card-large .img-container {
width: 80px;
height: 80px;
min-width: 80px;
min-height: 80px;
border-width: 3px;
}
.org-card.card-large .nama-person {
font-size: 14px;
height: 45px;
}
.org-card.card-large .jabatan-badge {
font-size: 10px;
padding: 5px 8px;
max-width: 120px;
height: 70px;
}
@media (hover: hover) and (pointer: fine) {
.org-card:hover {
transform: translateY(-5px) scale(1.05);
z-index: 100;
cursor: pointer;
}
.org-card.card-large:hover {
transform: scale(1.15) translateY(0px);
}
.org-card:hover .img-container {
box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}
.org-card:hover .nama-person {
color: #0055aa;
}
.org-card:hover .jabatan-badge {
background: linear-gradient(135deg, #003d7a 0%, #0055aa 100%);
}
}
@media (max-width: 1200px) {
.tree li {
padding: 18px 4px 0 4px;
}
.org-card {
width: 90px;
height: 160px;
}
.img-container {
width: 55px;
height: 55px;
min-width: 55px;
min-height: 55px;
}
.jabatan-badge {
font-size: 6px;
padding: 3px 5px;
height: 40px;
max-width: 85px;
}
.nama-person {
font-size: 10px;
height: 40px;
}
.sub-header {
padding: 20px 25px 12px;
}
.header-title h1 {
font-size: 18px;
}
.header-title h2 {
font-size: 9px;
}
}
@media (max-width: 768px) {
.sub-header {
flex-direction: column;
gap: 15px;
padding: 15px 20px;
}
.header-actions {
align-items: flex-start;
flex-direction: row;
gap: 20px;
}
.tree li {
padding: 15px 3px 0 3px;
}
.org-card {
width: 80px;
height: 140px;
}
.img-container {
width: 45px;
height: 45px;
min-width: 45px;
min-height: 45px;
border-width: 2px;
}
.jabatan-badge {
font-size: 5px;
padding: 3px 4px;
max-width: 75px;
height: 35px;
}
.nama-person {
font-size: 9px;
height: 35px;
}
.tree-wrapper {
padding: 20px 10px 30px;
}
}
@media print {
*, *::before, *::after {
transition: none !important;
animation: none !important;
box-shadow: none !important;
text-shadow: none !important;
}
body {
display: block !important;
background: white !important;
color: #000 !important;
font-size: 11pt;
min-height: auto !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.top-bar,
.header-actions,
.floating-contact,
.floating-text,
.footer-line,
.back-link,
.action-link {
display: none !important;
}
.floating-contact {
position: static !important;
visibility: hidden !important;
height: 0 !important;
width: 0 !important;
overflow: hidden !important;
}
a {
text-decoration: none !important;
color: #000 !important;
}
#struktur-container {
width: 100% !important;
overflow: hidden !important;
min-height: auto !important;
}
.tree-wrapper {
overflow: hidden !important;
padding: 10px 0 !important;
min-height: auto !important;
}
.tree {
width: 100% !important;
min-width: unset !important;
transform: scale(0.55);
transform-origin: top center;
}
.tree ul {
transition: none !important;
}
.org-card {
break-inside: avoid;
}
.org-card:hover {
transform: none !important;
}
.img-container {
border: 2px solid #333 !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.jabatan-badge {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
border: 1px solid #003366 !important;
}
#sejarah-container {
padding: 0 !important;
min-height: auto !important;
}
.history-content-wrapper {
padding: 0 20px !important;
}
.timeline-content {
break-inside: avoid;
border: 1px solid #ddd !important;
}
.timeline-content:hover {
transform: none !important;
}
.year-badge {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.leader-card {
break-inside: avoid;
border: 1px solid #ddd !important;
border-top: 4px solid #0088cc !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.leader-card:hover,
.leader-card-link:hover {
transform: none !important;
}
.leader-status {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.img-container-leader {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.dki-container {
max-width: 100% !important;
padding: 10px !important;
}
.pegawai-table {
border-spacing: 0 2px !important;
}
.pegawai-table td {
padding: 4px 8px !important;
font-size: 10pt;
}
.clickable-row {
cursor: default !important;
}
.clickable-row:hover {
background-color: transparent !important;
transform: none !important;
box-shadow: none !important;
border-left: none !important;
}
.dokumen-container {
max-width: 100% !important;
}
.dokumen-image {
max-width: 100% !important;
border: 1px solid #ddd !important;
}
.dokumen-pdf {
display: none !important;
}
h1, h2, h3, h4 {
break-after: avoid;
}
.section-box,
.info-box {
break-inside: avoid;
}
.sub-header {
border-bottom: 2px solid #003366 !important;
padding: 10px 0 !important;
margin-bottom: 20px !important;
background: none !important;
}
.sub-header .header-title h1 {
font-size: 18pt !important;
color: #003366 !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.sub-header .header-title h2 {
font-size: 10pt !important;
color: #666 !important;
}
.tree ul.staff-container {
border: 1px dashed #999 !important;
background: none !important;
}
}
.admin-container {
padding: 20px 50px 30px;
}
.dki-alert {
padding: 12px 16px;
margin-bottom: 20px;
font-size: 14px;
border-left: 4px solid;
}
.dki-alert-success {
background: #f0fff4;
color: #276749;
border-color: #48bb78;
}
.dki-alert-error {
background: #fff5f5;
color: #c53030;
border-color: #fc8181;
}
.admin-container table {
width: 100%;
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.admin-container th,
.admin-container td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #e0e0e0;
}
.admin-container th {
background-color: #003366;
color: white;
font-weight: 600;
font-size: 13px;
}
.admin-container tr:nth-child(even) {
background-color: #f8f9fa;
}
.admin-container tr:hover {
background-color: #eef4ff;
}
.clickable-row {
cursor: pointer;
transition: all 0.2s ease-in-out;
border-left: 0px solid transparent;
}
.clickable-row:hover {
background-color: #e3f2fd !important;
transform: scale(1.01);
box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
z-index: 10;
position: relative;
border-left: 5px solid #0055aa;
}
.jabatan-text {
color: #003366;
font-weight: 500;
font-size: 13px;
}
.photo-preview {
width: 45px;
height: 45px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #0088cc;
}
.admin-container input[type="text"] {
width: 100%;
padding: 8px 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
font-family: inherit;
}
.admin-container input[type="text"]:focus {
outline: none;
border-color: #0066cc;
}
.admin-container input[type="file"] {
font-size: 12px;
color: #555;
}
.form-footer {
margin-top: 20px;
display: flex;
justify-content: flex-end;
gap: 10px;
}
.dki-btn {
padding: 10px 25px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
font-family: inherit;
text-decoration: none;
display: inline-block;
}
.dki-btn-primary {
background-color: #003366;
color: white;
}
.dki-btn-primary:hover {
background-color: #004488;
}
.dki-btn-secondary {
background-color: #6c757d;
color: white;
}
.dki-btn-secondary:hover {
background-color: #5a6268;
}
.dki-btn-danger {
background-color: #dc3545;
color: white;
}
.dki-btn-danger:hover {
background-color: #c82333;
}
.dki-btn-sm {
padding: 6px 12px;
font-size: 12px;
}
.section-box {
background: #fff;
border: 1px solid #e0e0e0;
margin-bottom: 25px;
}
.section-header {
background: #f5f5f5;
padding: 12px 15px;
border-bottom: 1px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
}
.section-header h3 {
margin: 0;
font-size: 15px;
font-weight: 600;
color: #333;
}
.section-body {
padding: 20px;
}
.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 15px;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
font-size: 13px;
font-weight: 500;
color: #333;
margin-bottom: 5px;
}
.form-group .required {
color: #dc3545;
}
.form-group select {
padding: 8px 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
font-family: inherit;
background: #fff;
}
.form-group select:focus {
outline: none;
border-color: #0066cc;
}
.help-text {
font-size: 11px;
color: #666;
margin-top: 4px;
}
.form-actions {
margin-top: 10px;
}
.info-box {
background: #f8f9ff;
border-color: #d0d7ff;
}
.info-box .section-header {
background: #eef1ff;
border-color: #d0d7ff;
}
.info-box .section-body {
font-size: 13px;
line-height: 1.6;
}
.info-box ul {
margin: 10px 0;
padding-left: 20px;
}
.info-box li {
margin-bottom: 5px;
}
.empty-state {
text-align: center;
padding: 40px 20px;
color: #666;
}
.text-center {
text-align: center;
}
@media (max-width: 768px) {
.admin-container {
padding: 15px 20px;
}
.admin-container th,
.admin-container td {
padding: 8px 10px;
font-size: 12px;
}
.section-header {
flex-direction: column;
gap: 10px;
align-items: flex-start;
}
.form-row {
grid-template-columns: 1fr;
}
}
.dokumen-preview {
margin-bottom: 20px;
}
.dokumen-img {
max-width: 100%;
max-height: 300px;
border: 1px solid #ddd;
border-radius: 4px;
margin: 10px 0;
}
.pdf-preview {
display: flex;
align-items: center;
gap: 15px;
padding: 15px;
background: #f5f5f5;
border-radius: 4px;
margin: 10px 0;
}
.pdf-preview span {
font-size: 13px;
color: #666;
}
.upload-time {
color: #888;
margin: 10px 0;
}
.tree li.no-line::before,
.tree li.no-line::after {
display: none;
}
.tree ul.no-line-ul::before {
display: none;
}
.tree ul.no-line-ul > li::before,
.tree ul.no-line-ul > li::after {
display: none;
}
.tree ul.no-line-ul {
padding-top: 12px;
align-items: flex-start;
}
.tree li.no-line {
padding-top: 12px;
}
.tree ul.staff-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2px;
justify-items: center;
align-items: start;
background-color: rgba(240, 248, 255, 0.5);
border: 2px dashed #a0c4ff;
border-radius: 20px;
padding: 10px;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
position: relative;
width: fit-content;
max-width: 100%;
}
@media (max-width: 600px) {
.tree ul.staff-container {
grid-template-columns: repeat(2, 1fr);
}
}
.tree ul.staff-container::before,
.tree ul.staff-container li::before,
.tree ul.staff-container li::after {
display: none !important;
}
.tree ul.staff-container li {
padding: 0;
margin: 0;
}
.color-picker-wrapper {
display: flex;
align-items: center;
gap: 10px;
}
.color-input {
width: 50px;
height: 35px;
padding: 2px;
border: 1px solid #ccc;
border-radius: 4px;
cursor: pointer;
background: #fff;
}
.color-input::-webkit-color-swatch-wrapper {
padding: 2px;
}
.color-input::-webkit-color-swatch {
border-radius: 2px;
border: none;
}
.color-text-input {
width: 90px;
padding: 8px 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
font-family: monospace;
}
.color-input-small {
width: 40px;
height: 30px;
padding: 2px;
border: 1px solid #ccc;
border-radius: 4px;
cursor: pointer;
background: #fff;
}
.color-input-small::-webkit-color-swatch-wrapper {
padding: 1px;
}
.dki-container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
flex: 1;
width: 100%;
}
.page-header {
margin-bottom: 40px;
}
.page-title {
font-size: 22px;
font-weight: 600;
color: #004488;
margin-bottom: 5px;
}
.page-subtitle {
font-size: 14px;
color: #888;
text-transform: uppercase;
letter-spacing: 1px;
}
.pegawai-table {
width: 100%;
border-collapse: separate;
border-spacing: 0 5px;
}
.pegawai-table thead th {
background-color: #003366;
color: #ffffff;
font-weight: 600;
font-size: 13px;
padding: 12px 10px;
text-align: left;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.pegawai-table td {
padding: 5px 10px;
vertical-align: center;
background-color: #fff;
border: none;
}
.col-no {
width: 30px;
font-weight: 600;
color: #555;
text-align: right;
}
.col-nama {
width: 35%;
font-weight: 600;
color: #333;
text-transform: uppercase;
font-size: 14px;
}
.col-jabatan {
width: 40%;
color: #444;
font-size: 13px;
line-height: 1.4;
text-transform: uppercase;
}
.col-golongan {
width: 20%;
color: #666;
font-size: 13px;
}
@media (max-width: 768px) {
.pegawai-table {
display: block;
}
.pegawai-table tbody {
display: block;
}
.pegawai-table tr {
display: flex;
flex-direction: column;
margin-bottom: 20px;
border: 1px solid #eee;
padding: 15px;
border-radius: 8px;
}
.pegawai-table td {
width: 100% !important;
text-align: left !important;
padding: 5px 0;
}
.col-no {
display: none;
}
.pegawai-table thead {
display: none;
}
}
.dokumen-container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
text-align: center;
}
.dokumen-title {
margin-bottom: 30px;
}
.dokumen-title h1 {
color: #003366;
font-size: 24px;
margin-bottom: 5px;
}
.dokumen-title h2 {
color: #666;
font-size: 14px;
font-weight: normal;
}
.dokumen-image {
max-width: 100%;
height: auto;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.dokumen-pdf {
width: 100%;
height: 80vh;
border: 1px solid #ddd;
border-radius: 8px;
}
.no-dokumen {
padding: 60px 20px;
background: #f9f9f9;
border-radius: 8px;
color: #666;
}
.no-dokumen p {
font-size: 18px;
margin-bottom: 20px;
}
.back-link {
display: block;
margin: 40px auto 20px;
padding: 12px 25px;
background: #003366;
color: #fff;
text-decoration: none;
font-size: 14px;
border-radius: 5px;
width: fit-content;
transition: background 0.3s;
}
.back-link:hover {
background: #004488;
text-decoration: none;
}
.history-content-wrapper {
padding: 0 50px 50px;
max-width: 1200px;
margin: 0 auto;
}
.history-intro {
font-size: 16px;
line-height: 1.8;
color: #444;
margin-bottom: 40px;
text-align: justify;
border-left: 5px solid #004488;
padding-left: 20px;
background: #f9f9f9;
padding: 20px;
border-radius: 0 8px 8px 0;
}
.timeline-section {
margin-bottom: 60px;
position: relative;
}
.section-title {
font-family: "Poppins", sans-serif;
font-size: 24px;
font-weight: 700;
color: #003366;
margin-bottom: 30px;
border-bottom: 2px solid #eee;
padding-bottom: 10px;
display: inline-block;
}
.timeline {
position: relative;
max-width: 1000px;
margin: 0 auto;
}
.timeline::after {
content: "";
position: absolute;
width: 4px;
background-color: #004488;
top: 0;
bottom: 0;
left: 50%;
margin-left: -2px;
border-radius: 2px;
}
.timeline-item {
padding: 10px 40px;
position: relative;
background-color: inherit;
width: 50%;
box-sizing: border-box;
}
.timeline-item.left {
left: 0;
text-align: right;
}
.timeline-item.right {
left: 50%;
text-align: left;
}
.timeline-item::after {
content: "";
position: absolute;
width: 20px;
height: 20px;
right: -10px;
background-color: white;
border: 4px solid #004488;
top: 20px;
border-radius: 50%;
z-index: 1;
}
.timeline-item.right::after {
left: -10px;
}
.timeline-content {
padding: 20px 30px;
background-color: white;
position: relative;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.timeline-content:hover {
transform: translateY(-5px);
}
.timeline-content h4 {
color: #003366;
font-size: 18px;
margin-bottom: 10px;
font-weight: 600;
}
.timeline-content p {
font-size: 14px;
color: #666;
line-height: 1.6;
}
.year-badge {
display: inline-block;
background: #004488;
color: white;
padding: 5px 15px;
border-radius: 20px;
font-size: 12px;
font-weight: bold;
margin-bottom: 10px;
}
.leadership-section {
margin-top: 50px;
}
.section-subtitle {
font-size: 14px;
color: #666;
margin-top: -20px;
margin-bottom: 30px;
font-style: italic;
}
.leaders-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
justify-content: center;
}
.leader-card {
background: white;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
padding: 30px 20px;
text-align: center;
transition: all 0.3s ease;
border-top: 5px solid #0088cc;
display: flex;
flex-direction: column;
align-items: center;
}
.leader-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.img-container-leader {
width: 100px;
height: 100px;
border-radius: 50%;
overflow: hidden;
margin-bottom: 20px;
border: 3px solid #0088cc;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.img-container-leader img {
width: 100%;
height: 100%;
object-fit: cover;
}
.leader-name {
font-size: 16px;
font-weight: 700;
color: #333;
margin-bottom: 10px;
min-height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.leader-period {
font-size: 13px;
color: #666;
margin-bottom: 15px;
display: block;
}
.leader-status {
display: inline-block;
padding: 6px 15px;
border-radius: 20px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.leader-status.active {
background-color: #e3f2fd;
color: #0055aa;
}
.leader-status.past {
background-color: #f5f5f5;
color: #777;
}
@media screen and (max-width: 768px) {
.timeline::after {
left: 31px;
}
.timeline-item {
width: 100%;
padding-left: 70px;
padding-right: 25px;
}
.timeline-item.left,
.timeline-item.right {
left: 0;
text-align: left;
}
.timeline-item::after {
left: 21px;
}
.history-content-wrapper {
padding: 0 20px 50px;
}
.timeline-item.right::after {
left: 21px;
}
}
.img-container-leader.active {
border-color: #cc0000;
}
.img-container-leader.past {
border-color: #000000;
}
.leader-card-link {
text-decoration: none;
color: inherit;
display: block;
height: 100%;
transition: transform 0.3s;
}
.leader-card-link:hover {
transform: translateY(-5px);
}
.leader-card-link .leader-card {
height: 100%;
}
.field-error {
border: 2px solid #dc3545 !important;
background-color: #fff5f5 !important;
}
.field-error:focus {
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}
.error-msg {
color: #dc3545;
font-size: 12px;
margin-top: 4px;
display: block;
font-weight: 500;
}
.modal-overlay {
display: none;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 10000;
justify-content: center;
align-items: center;
animation: fadeIn 0.2s ease;
}
.modal-overlay.active { display: flex; }
.modal-box {
background: #fff;
border-radius: 12px;
padding: 30px;
max-width: 420px;
width: 90%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
text-align: center;
animation: slideUp 0.25s ease;
}
.modal-icon {
width: 56px;
height: 56px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px;
font-size: 28px;
}
.modal-icon.danger { background: #fff0f0; color: #dc3545; }
.modal-icon.warning { background: #fff8e6; color: #e6a700; }
.modal-title {
font-size: 18px;
font-weight: 600;
color: #333;
margin-bottom: 8px;
}
.modal-message {
font-size: 14px;
color: #666;
line-height: 1.5;
margin-bottom: 25px;
}
.modal-actions {
display: flex;
gap: 10px;
justify-content: center;
}
.modal-btn {
padding: 10px 24px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.modal-btn-cancel {
background: #f0f0f0;
color: #555;
}
.modal-btn-cancel:hover { background: #e0e0e0; }
.modal-btn-confirm {
background: #dc3545;
color: #fff;
}
.modal-btn-confirm:hover { background: #c82333; }
.modal-btn-confirm.warning {
background: #e6a700;
}
.modal-btn-confirm.warning:hover { background: #d49b00; }
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
[data-theme="dark"] .tree-wrapper,
[data-bs-theme="dark"] .tree-wrapper {
background-color: transparent !important;
}
[data-theme="dark"] .org-card,
[data-bs-theme="dark"] .org-card {
background: transparent !important;
box-shadow: none !important;
}
[data-theme="dark"] .org-card:hover,
[data-bs-theme="dark"] .org-card:hover {
background: rgba(255, 255, 255, 0.05) !important;
border-radius: 12px;
}
[data-theme="dark"] .card-info .nama-person,
[data-bs-theme="dark"] .card-info .nama-person {
color: #ffffff !important;
}
[data-theme="dark"] .card-info .jabatan-badge,
[data-bs-theme="dark"] .card-info .jabatan-badge {
background: #151521 !important;
color: #a1a5b7 !important;
}
[data-theme="dark"] .staff-container,
[data-bs-theme="dark"] .staff-container {
background-color: transparent !important;
border: 1px dashed #474761 !important;
}
[data-theme="dark"] .tree li::before,
[data-theme="dark"] .tree li::after,
[data-theme="dark"] .tree ul ul::before,
[data-theme="dark"] .tree li:last-child::before,
[data-bs-theme="dark"] .tree li::before,
[data-bs-theme="dark"] .tree li::after,
[data-bs-theme="dark"] .tree ul ul::before,
[data-bs-theme="dark"] .tree li:last-child::before {
border-color: #474761 !important;
}
[data-theme="dark"] .preview-container h5,
[data-bs-theme="dark"] .preview-container h5 {
color: #ffffff !important;
}