


        .bg-darkblue {
            background: rgba(20, 40, 70);
            color:white;
        }

        .bg-greyblue {
            background: #3d5a80;
             color:white;
        }

        .bg-white {
            background: white;
             color:black;
        }

        .bg-lightblue {
            background-color: #3a7bc8;
            color: white;
        }


        .bg-green {
            background-color: #4CAF50;
            color:white;
        }


        .terms-conditions > .btn {
             background-color: grey;
             color:white;
        }

        .nova-border-grey {
            border: 2px solid grey; 
        }


        .nova-btn {
            border: 2px solid #3d5a80; 
            border-radius: 6px;
            cursor: pointer;
            color:white;
        }


        .nova-btn.active {
            border: 4px solid #3a7bc8;
        }


        .nova-border {
            border: 4px solid #3a7bc8;
        }

        .terms-conditions {
             border-radius: 4px;
             background-color: white;
             color: black;
        }


        /* Container Layout */
        .nova-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        /* Mobile First - Stack vertically */
        .nova-container-right {
            order: 1; /* Shows first on mobile */
            width: 100%;
        }
        
        .nova-container-left {
            order: 2; /* Shows second on mobile */
            width: 100%;
        }
        


        .nova-banner {
            background-color: rgba(10, 25, 41, 0.95);
            padding:0;
            border-radius: 4px;
            display:flex;
            justify-content: center;
        }

        .nrow {
          display: flex;
          flex-wrap: wrap;
        /*  margin: 0 -15px; */
        }

        .ncol-12 {
          flex: 0 0 100%;
          max-width: 100%;
          padding: 0 15px;
        }

        .ncol-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }


        .nova-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;

        }


        .input-group-append {
            display: flex;
            flex-direction: row;
        }

        .input-group-append .input-group-text {
            height: 100%;
            display: flex;
            align-items: center;
            padding: 0.375rem 0.75rem;
        }


        /* Desktop Layout - Side by side */
        @media (min-width: 1024px) {
            .nova-container {
                flex-direction: row;
                align-items: flex-start;
            }
            
            .nova-container-left {
                order: 1;
                flex: 1;
                min-width: 0;
            }
            
            .nova-container-right {
                order: 2;
                width: 400px;
                flex-shrink: 0;
            }
            
            /* When right container is hidden, completely remove from layout */
            .nova-container-right.ng-hide {
                display: none !important;
                width: 0 !important;
            }

            .ncol-md-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
            .ncol-md-9 {
                flex: 0 0 75%;
                max-width: 75%;
            }
            .ncol-md-3 {
                flex: 0 0 25%;
                max-width: 25%;
            }

            .nova-btn:hover {
                border: 4px solid #3d5a80;
            }

        }


        .connected-people-section {
            box-sizing: border-box
        }


        .people-chips-container {
            display: flex;
           /* flex-wrap: wrap; */
          /*  gap: 0.75rem; */
            margin-bottom: 1rem;
            flex-direction: column;
        }

        .people-chips-container-right {
            display: flex;
           /* flex-wrap: wrap; */
          /*  gap: 0.75rem; */
            justify-content:  end;
            flex-direction: column;
        }

        .person-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1rem;
            flex-shrink: 0; 
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: #1e3a5f;
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.95rem;

            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }



        .person-chip.active {
            background: linear-gradient(135deg, #4a90e2 0%, #3a7bc8 100%);
            border-color: #4a90e2;
            box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
        }

        .person-chip i {
            color: #4a90e2;
            font-size: 0.9rem;
        }


        .person-chip:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
            border-color: #4a90e2;
        }


        /* Red */
        .person-chip.red {
            background: linear-gradient(135deg, #5f1e1e 0%, #8f2a2a 100%);
        }
        .person-chip.red:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(226, 74, 74, 0.3);
            border-color: #e24a4a;
        }
        .person-chip.red.active {
            background: linear-gradient(135deg, #e24a4a 0%, #c83a3a 100%);
            border-color: #e24a4a;
            box-shadow: 0 4px 12px rgba(226, 74, 74, 0.4);
        }
        .person-chip.red i {
            color: #e24a4a;
        }


        .person-chip.orange {
            background: linear-gradient(135deg, #5f3a1e 0%, #8f5a2a 100%);
        }
        .person-chip.orange:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(226, 144, 74, 0.3);
            border-color: #e2904a;
        }
        .person-chip.orange.active {
            background: linear-gradient(135deg, #e2904a 0%, #c8703a 100%);
            border-color: #e2904a;
            box-shadow: 0 4px 12px rgba(226, 144, 74, 0.4);
        }
        .person-chip.orange i {
            color: #e2904a;
        }

        .person-chip.greyblue {
            background: #3d5a80;
        }

        .person-chip.grey {
            background: linear-gradient(135deg, #4a4a4a 0%, #6e6e6e 100%);
        }
        .person-chip.grey:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(158, 158, 158, 0.3);
            border-color: #9e9e9e;
        }

        .person-chip.green {
            background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 100%);
        }
        .person-chip.green:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(106, 168, 79, 0.3);
            border-color: #6aa84f;
        }
        


        .person-chip.active i {
            color: #ffffff;
        }



        .chip-wrapper {
            position: relative;
            max-width: 100%; 
            margin-bottom: 0.15rem; 
        }


        .chip-menu {
            position: absolute;
            top: calc(100% + 5px);
            left: 0;
            background: #1e3a5f; /*#4a90e2;*/
            border: 1px solid rgba(74, 144, 226, 0.3);
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            min-width: 160px;
            overflow: hidden;
            animation: slideDown 0.2s ease;
        }

        .file-chip-menu {
            position: absolute;
             top: calc(100% + 5px);
            left: 20px;
             background: #1e3a5f; /*#4a90e2;*/
             border: 1px solid rgba(74, 144, 226, 0.3);
             border-radius: 8px;
             box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
             z-index: 1000;
            display: flex;           
            flex-direction: row;     
             overflow: hidden;
             animation: slideDown 0.2s ease;
         }


        .chip-menu.right {
            left: auto;
            right: 0;
        }

        .chip-menu-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            background: transparent;
            width: 100%;
            text-align: left;
            color: #e0e0e0;
            font-size: 0.95rem;
        }

        .chip-menu-item:hover {
            background: rgba(74, 144, 226, 0.2);
        }

        .chip-menu-item i {
            color: #4a90e2;
            font-size: 0.9rem;
            width: 16px;
        }

        .chip-menu-item.delete:hover {
            background: rgba(226, 74, 74, 0.2);
        }

        .chip-menu-item.delete:hover i {
            color: #e24a4a;
        }


        .chip-menu-item + .chip-menu-item {
            border-left: 1px solid rgba(74, 144, 226, 0.3); /* Separator between items */
         }




        .person-details-grid {
            display:grid;
            gap:1rem;
        }

        .details-row {
            display:grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }


        .person-details {
            background: rgba(30, 58, 95, 0.4);
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 1rem;
            border: 1px solid rgba(74, 144, 226, 0.3);
            display: block;
            animation: slideDown 0.3s ease;
            width:100%;
            max-width:450px;
        }

        .person-details-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(74, 144, 226, 0.2);
        }

        .person-details-name {
            font-size: 1.2rem;
            font-weight: 600;
            color: #ffffff;
        }

        .close-details {
            background: transparent;
            border: none;
            color: #5a7a99;
            cursor: pointer;
            font-size: 1.2rem;
            padding: 0.25rem 0.5rem;
            transition: color 0.3s ease;
        }

        .close-details:hover {
            color: #4a90e2;
        }


        .detail-item {
            display: flex;
            flex-direction: column; 
            gap: 0.25rem;
        }

        .detail-label {
            font-size: 0.85rem;
            color: #5a7a99;
            font-weight: 500;
        }

        .detail-value {
            font-size: 1rem;
            color: #e0e0e0;
        }

        .access-request-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e1e8ed;
        }
        
        .access-request-actions button {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }



        @media (max-width: 1024px) {


            .person-chip {
                font-size: 0.9rem;
                padding: 0.5rem 0.85rem;
                white-space: normal;
                word-break: break-word;
                min-height: 2.5rem;
            }
          
        }



