/* Custom styles for resume page */
html,body{
    font-family: 'Chiron GoRound TC', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.cta-primary{
    background: linear-gradient(90deg,#4f46e5,#8b5cf6);
    color: white;
    box-shadow: 0 6px 18px rgba(79,70,229,0.18);
}
.cta-primary:hover{ filter:brightness(.98); }
.cta-secondary{
    background: white;
    border: 1px solid #e6e6f0;
    color: #4b5563;
}

/* Modal styles */
.modal-overlay{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 60;
}
.modal-overlay.open{
    opacity: 1;
    pointer-events: auto;
}
.modal-content{
    background: white;
    width: min(720px, calc(100% - 48px));
    max-height: 80vh;
    overflow: auto;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.2);
}

/* small scrollbar styling */
.modal-content::-webkit-scrollbar{ width: 10px; }
.modal-content::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.12); border-radius: 6px; }

/* Prevent body scroll when modal open */
.modal-open{
    position: fixed;
    width: 100%;
}

/* Responsive tweaks */
@media (max-width: 768px){
    .modal-content{ width: calc(100% - 32px); max-height: 86vh; }
}
