.profile-header {
    display: flex;
    align-items: center;
    margin-left: 8px;
    margin-right: 8px;
    justify-content: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-left: 8px;
    margin-top: 8px;
    margin-right: 8px;
    object-fit: cover;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h1 {
    margin: 0;
    font-size: 23px;
    color: #333;
}

.profile-info p {
    margin: 5px 0;
    color: #666;
}

.profile-info a {
    color: #1DA1F2;
    text-decoration: none;
}

.profile-info a:hover {
    text-decoration: underline;
}

.tabs {
    display: flex;
    margin: 0px 0 10px 0;
}

.tab {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    margin-right: 5px;
}

.tab:first-child {
    margin-left: 8px;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
}

.tab-content {
    display: none;
    padding: 10px;
    border-radius: 0 4px 4px 4px;
    background-color: #fff;
}

.tab-content.active {
    display: block;
}

/* Status Input */
.status-input {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-right: 8px;
}

#statusInput {
    background-image: url('https://res.cloudinary.com/dry7cujup/image/upload/Kb_slcuoj.png');
    background-size: 126px auto;
    background-position: left bottom;
    background-repeat: no-repeat;
    padding-left: 10px;
    padding-bottom: 10px;
}

#statusInput.no-background {
    background-image: none;
}

.status-input textarea {
    width: auto;
    height: 80px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    resize: none;
}

.status-input button {
    align-self: flex-end;
    width: 80px;
    background-color: #D0F0C0;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 3px;
    margin-right: 8px;
}

.status-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.more-options {
    position: relative;
    cursor: default;
    padding: 5px;
    margin-left: 8px;
}

.more-options:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

.options-menu {
    position: absolute;
    left: 0;
    top: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
}

.options-menu.show {
    display: block;
}

.options-menu button {
    display: block;
    width: 70px;
    padding: 4px 8px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.options-menu button:hover {
    background-color: #f5f5f5;
}

.paste-btn {
    position: absolute;
    right: 100px;
    cursor: pointer;
}

.clear-btn {
    font-size: 18px;
    background: none;
    position: absolute;
    right: 10px;
    top: 0px;
    cursor: pointer;
    color: #999;
    border-radius: 50%;
    background: none;
    border: none;
    padding: 0;
    z-index: 1;
}

/* PGP Key */
.pgp-key {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 10px;
    background-color: #fafafa;
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 242.424px;
    width: 96%;
    overflow-y: auto;
    resize: none;
    text-align: left;
    outline: none;
}

#pgpKey.copied {
    text-align: center;
    line-height: 234px;
    white-space: normal;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: green;
    outline: none;
}

/* Key Copy Animation */
.key-copy {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.copy-effect {
    position: absolute;
    color: rgba(0,0,0,0.3);
    left: 0;
    transition: none;
    opacity: 0;
}

.key-copy.active .copy-effect {
    opacity: 1;
    animation: floatAnimation 3s ease-in-out forwards;
}

@keyframes floatAnimation {
    0% { transform: translateY(0); opacity: 1; }
    10% { transform: translateY(-10px); opacity: 1; }
    25% { transform: translateY(calc(60dvh - 20px)); opacity: 1; }
    40% { transform: translateY(calc(40dvh - 20px)); opacity: 1; }
    55% { transform: translateY(calc(60dvh - 20px)); opacity: 1; }
    70% { transform: translateY(calc(40dvh - 20px)); opacity: 1; }
    85% { transform: translateY(calc(60dvh - 20px)); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Auto PGP Form */
.auto-pgp-form textarea {
    width: 96%;
    height: 232px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px;
    font-size: 10.8px;
    resize: vertical;
}

.auto-pgp-form button {
    background-color: #D0F0C0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 7px;
    cursor: pointer;
    margin-left: 38%;
}

.auto-pgp-form button:hover {
    background-color: #C0E0B0;
}

.clear-btn-pgp {
    font-size: 18px;
    background: none;
    position: absolute;
    right: 10px;
    top: 0px;
    cursor: pointer;
    color: #999;
    border-radius: 50%;
    background: none;
    border: none;
    padding: 0;
    z-index: 1;
}

.textarea-container {
    position: relative;
}

.copy-btn {
    font-size: 12.12px;
    cursor: pointer;
    color: #1DA1F2;
    text-decoration: none;
    margin-left: 8px;
}

/* Email Form */
.txtmail {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 12px;
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 242px;
    width: 96%;
    overflow-y: auto;
    resize: none;
    text-align: left;
    outline: none;
}

.email-line {
    width: 96%;
    height: 1px;
    background: #ccc;
    position: relative;
    margin: 10px auto;
    display: none;
}

.email-point {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    top: -2px;
}

#email-point1 {
    left: 0;
    background: red;
    animation: blink-red 0.8s infinite;
}

#email-point2 {
    left: 50%;
    transform: translateX(-50%);
    background: orange;
    animation: blink-orange 1.2s infinite;
}

#email-point3 {
    left: 100%;
    transform: translateX(-100%);
    background: green;
    animation: blink-green 1.5s infinite;
}

@keyframes blink-red {
    0%, 100% { background: red; }
    50% { background: #ccc; }
}

@keyframes blink-orange {
    0%, 100% { background: yellow; }
    50% { background: #ccc; }
}

@keyframes blink-green {
    0%, 100% { background: green; }
    50% { background: #ccc; }
}

.email-plane {
    width: 20px;
    height: 20px;
    position: absolute;
    top: -20px;
    left: 0;
    display: none;
    transition: left 2.5s linear, top 1s linear, transform 1s linear;
}

.email-text {
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 9px;
    white-space: nowrap;
    display: none;
    transition: left 2.5s linear, top 1s linear, transform 1s linear;
    color: #666;
}

.email-sent-text {
    position: absolute;
    top: -20px;
    left: 99%;
    transform: translateX(-50%);
    font-size: 12px;
    color: green;
    white-space: nowrap;
    display: none;
}

#encryptSendBtnmail {
    transition: opacity 0.3s ease;
}

/* TIMELINE ROADMAP STYLE */
.roadmap-wrapper {
    max-height: 555px;
    overflow-y: auto;
    overflow-x: visible;
    margin-top: 1rem;
    margin-left:-3.2%;
    border: 1px solid #eee;
    border-left:none;
    border-right:none;
    border-radius: 8px;
    scrollbar-width: thin;
    width:106.4%;
}

.roadmap-wrapper::-webkit-scrollbar {
    width: 6px;
}

.roadmap-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.roadmap-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.roadmap-wrapper::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.roadmap-container {
    position: relative;
    padding: 0.5rem 1rem 2.7rem 1rem;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 14;
    bottom: 0;
    left: 50%;
    width: 11px;
    background: #ccc;
    transform: translateX(-50%);
    z-index: 1;
}

.roadmap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    margin-bottom: 2rem;
    z-index: 2;
}

.roadmap-left, .roadmap-right {
    width: 45%;
    position: relative;
}

.roadmap-left {
    text-align: right;
}

.roadmap-card {
    padding: 0.4rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: inline-block;
    text-align: left;
}

.roadmap-left .roadmap-card {
    text-align: left;
}

.roadmap-judul {
    font-weight: 500;
    font-size: 0.75rem;
    color: #111;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.roadmap-year {
    font-size: 0.65rem;
    font-weight: 400;
    color: #555;
}

.roadmap-left .roadmap-card::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    width: 14px;
    height: 1px;
    background: #bbb;
    transform: translateY(-50%);
}

.roadmap-right .roadmap-card::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    width: 14px;
    height: 1px;
    background: #bbb;
    transform: translateY(-50%);
}

.roadmap-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #999;
    border: 1px solid white;
    border-radius: 50%;
    z-index: 10;
}

.roadmap-loading {
    text-align: center;
    padding: 0.75rem;
     z-index: 10;
}

.roadmap-loading img {
    width: 29px;
    height: 29px;
    display: inline-block;
    z-index: 11;
    position: relative;
}

.roadmap-load-trigger {
    height: 10px;
    text-align: center;
}

.status-bat {
    text-transform: lowercase;
}

.battery, .status-bat, .last-open, .unread-count {
    font-weight: normal;
}

.timeline-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 5px;
    padding: 0 8px;
}

.back-to-top {
    color: #333;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.back-to-top:hover {
    text-decoration: underline;
}

.custom-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.line-label {
    color: #1DA1F2;
    font-size: 14px;
    cursor: default;
}

.selected-value {
    color: #1DA1F2;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.selected-value:hover {
    text-decoration: underline;
}

.dropdown-arrow {
    font-size: 10px;
}

.custom-select-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 4px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: none;
    min-width: 110px;
    z-index: 100;
}

.custom-select-options.show {
    display: block;
}

.custom-select-option {
    padding: 6px 12px;
    cursor: pointer;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}

.custom-select-option:hover {
    background-color: #f0f0f0;
}

.custom-select-option.selected {
    background-color: #e8f4fd;
    color: #1DA1F2;
}
