 /* Container untuk menyimulasikan halaman web */
      /* Container untuk menyimulasikan halaman web */
      @media print {
        .sticky-note,
        .sticky-note-icon,
        .sticky-note3,
        .notification-dropdown {
            display: none !important;
        }
    }
      .content {
        padding: 20px;
        max-width: 800px;
        margin: 0 auto;
        background-color: #fff;
        height: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    /* Sticky Note */
    .sticky-note {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 250px;
        min-height: 150px;
        background-color: #fef68a;
        padding: 15px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
        transform: rotate(2deg);
        font-family: 'Comic Sans MS', cursive, sans-serif;
        z-index: 10000;
        display: none;
        border-radius: 3px;
        transition: transform 0.3s ease;
    }

    .sticky-note::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        border-width: 0 16px 16px 0;
        border-style: solid;
        border-color: #e6c921 #fff;
        box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.1);
    }

    .sticky-note textarea {
        width: calc(100% - 10px);
        height: calc(100% - 60px);
        min-height: 80px;
        background-color: transparent;
        border: none;
        resize: none;
        font-family: inherit;
        font-size: 16px;
        outline: none;
        line-height: 1.5;
        color: #333;
        margin-bottom: 5px;
    }
    .sticky-note-icon {
        position: fixed;
        bottom: 50%;
        right: 0;
        transform: translateY(50%);
        width: auto;
        height: auto;
        background-color: #5179f0;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 6px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        z-index: 999;
        transition: transform 0.3s ease;
        font-weight: bold;
        color: white;
    }

    .sticky-note-icon:hover {
        transform: translateY(50%) scale(1.1);
    }

    .sticky-note-icon p {
        margin: 0;
        writing-mode: vertical-lr;
        text-orientation: mixed;
        font-size: 14px;
    }

    /* Close button for sticky note */
    .close-btnz {
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
        font-size: 18px;
        color: #5a5a5a;
        width: 20px;
        height: 20px;
        text-align: center;
        line-height: 20px;
        z-index: 2;
    }

    .close-btnz:hover {
        color: #000;
    }

    /* Resize handle styles */
    .sticky-note:hover {
        transform: rotate(0deg) scale(1.05);
    }
    
    /* Button styles */
    .button {
        padding: 6px 12px;
        background-color: #e6c921;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        font-family: inherit;
        font-size: 14px;
        margin-top: 8px;
        transition: background-color 0.2s;
    }
    
    .button:hover {
        background-color: #d4bb20;
    }
    
    .sticky-controls {
        display: flex;
        justify-content: flex-end;
        margin-top: 5px;
    }
    
    /* Resize handle styles */
    .resize-handle {
        position: absolute;
        width: 20px;
        height: 20px;
        bottom: 2px;
        right: 2px;
        cursor: nwse-resize;
        background-color: transparent;
        z-index: 10;
    }
    
    .resize-handle:after {
        content: '';
        position: absolute;
        right: 3px;
        bottom: 3px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 12px 12px;
        border-color: transparent transparent #e6c921 transparent;
    }
    /* 
    classs untuk notifikasi
    */
    .notification-btn {
        position: relative;
    }

    .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .notification-dropdown {
        position: absolute;
        right: 10px;
        top: 80px;
        width: 350px;
        max-height: calc(100vh - 100px);
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        display: none; /* Hidden by default */
        flex-direction: column;
    }
    
    .notification-header {
        background: linear-gradient(135deg, #105b99, #88d3ce);
        color: white;
        border-radius: 10px 10px 0 0;
        padding: 15px;
        font-weight: bold;
        position: sticky;
        top: 0;
        z-index: 5;
        flex-shrink: 0;
    }
    
    .notification-body {
        overflow-y: auto;
        padding: 10px;
        flex-grow: 1;
    }
    
    /* This class will be added via JavaScript when dropdown should be displayed */
    .notification-dropdown.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    .notification-item {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s;
    }

    .notification-body {
       max-height: calc(100vh - 100px);
        height: calc(100vh - 100px);
        overflow-y: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .notification-body::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .notification-item.unread {
        background-color: rgba(110, 69, 226, 0.1);
    }

    .notification-item .time {
        font-size: 0.8rem;
        color: #6c757d;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
    }

    .bg-primary-light {
        background-color: rgba(110, 69, 226, 0.2);
        color: #6e45e2;
    }

    .bg-success-light {
        background-color: rgba(40, 167, 69, 0.2);
        color: #28a745;
    }

    .bg-warning-light {
        background-color: rgba(255, 193, 7, 0.2);
        color: #ffc107;
    }

    .bg-info-light {
        background-color: rgba(23, 162, 184, 0.2);
        color: #17a2b8;
    }

    .bg-danger-light {
        background-color: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }

    .view-all {
        display: block;
        text-align: center;
        padding: 10px;
        background-color: rgba(110, 69, 226, 0.1);
        color: #6e45e2;
        font-weight: bold;
        text-decoration: none;
        border-radius: 0 0 10px 10px;

        bottom: 0;
        z-index: 5;
    }

    .view-all:hover {
        background-color: rgba(110, 69, 226, 0.2);
    }

    .notification-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    /* Animation for notification dropdown */

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

 


    /* STICKY BUAT PASIEN */
  /* Add this to your existing CSS */
.sticky-note3 {
  background-color: white; /* Change to white for document look */
  border-radius: 0 8px 8px 0;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15), -1px 0px 2px rgba(0, 0, 0, 0.1);
  transform: rotate(1deg);
  padding: 0;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  transform-origin: center left;
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #f0f0f0;
}

/* Paper texture effect */
.sticky-note3:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0.8px, transparent 0.8px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
  border-radius: 0 8px 8px 0;
}

/* Paperclip styling */

/* Add this to your existing CSS */
.sticky-note3 {
  background-color: white; /* Change to white for document look */
  border-radius: 0 8px 8px 0;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15), -1px 0px 2px rgba(0, 0, 0, 0.1);
  transform: rotate(1deg);
  padding: 0;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  transform-origin: center left;
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #f0f0f0;
}

/* Paper texture effect */
/* Modified Sticky Note for Patient Records */
.sticky-note3 {
    background-color: white;
    border-radius: 0 8px 8px 0;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15), -1px 0px 2px rgba(0, 0, 0, 0.1);
    transform: rotate(1deg);
    padding: 0;
    position: relative;
    min-height: 200px; /* Reduced from 300px */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    transform-origin: center left;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #f0f0f0;
  }
  
  /* Paper texture effect - kept the same */
  .sticky-note3:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0.8px, transparent 0.8px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0.8px, transparent 0.8px);
    background-size: 20px 20px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    border-radius: 0 8px 8px 0;
  }
  
  /* Paperclip styling - slightly adjusted */
  .paperclip {
    position: absolute;
    top: -8px; /* Moved up slightly */
    right: 20px;
    width: 40px;
    height: 60px; /* Reduced height */
    z-index: 10;
    transform: rotate(-10deg);
  }
  
  .paperclip i {
    font-size: 30px; /* Reduced size */
    color: #a0a0a0;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
  }
/* Compact header */
.sticky-note3-header {
    background-color: rgba(245, 245, 245, 0.9);
    padding: 8px 15px; /* Reduced padding */
    font-weight: bold;
    border-radius: 0 8px 0 0;
    color: #333;
    text-align: center;
    font-size: 15px; /* Slightly smaller font */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

/* More compact body */
.sticky-note3-body {
    padding: 12px; /* Reduced padding */
    flex-grow: 1;
    background-color: white;
    position: relative;
    z-index: 2;
    max-height: 120px; /* Added max height */
    overflow-y: auto; /* Added scrolling for overflow */
}

.sticky-note3-content {
    font-family: 'Arial', sans-serif;
    font-size: 14px; /* Smaller font */
    line-height: 1.5;
    color: #333;
    height: 100%;
    white-space: pre-line;
    overflow-wrap: break-word;
    border: none; /* Removed border */
    outline: none; /* Removed outline */
}

/* More compact footer */
.sticky-note3-footer {
    padding: 8px 12px; /* Added padding to footer */
}

/* Smaller button */
.btn-note {
    padding: 4px 12px !important; /* Smaller padding for button */
    font-size: 12px !important; /* Smaller font size */
}

/* Keep hover effects */
.sticky-note3:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Blink animation for the text - kept the same */
.blink-color {
    animation: blink-animation 1s steps(5, start) infinite;
    color: black;
}

@keyframes blink-animation {
    0% { color: black; }
    50% { color: red; }
    100% { color: black; }
}

/* Adjusted line spacing for document effect */
.sticky-note3-body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(transparent 22px, #e0e0e0 23px); /* Reduced line height */
    background-size: 100% 23px; /* Reduced spacing */
    opacity: 0.1;
    pointer-events: none;
}