.nda-list-container {
    max-width: 880px;
    margin: 50px auto 0 auto;
    padding: 0 18px;
}
.nda-list-title {
    color: #38e68c;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nda-upload-btn {
    background: #38e68c;
    color: #212125;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 1.04rem;
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.17s;
}
.nda-upload-btn:hover {
    background: #29c275;
}
.nda-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 26px;
}
.nda-card {
    background: #292933;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(38,52,58,0.12);
    padding: 32px 26px 22px 26px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.nda-doc-name {
    font-size: 1.16rem;
    font-weight: 700;
    color: #38e68c;
    margin-bottom: 7px;
}
.nda-doc-desc {
    color: #fafaff;
    font-size: 1.01rem;
    margin-bottom: 7px;
}
.nda-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    align-items: center;
}
.nda-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #38e68c;
    font-size: 1.18rem;
    padding: 5px 8px;
    border-radius: 6px;
    transition: background 0.14s;
}
.nda-action-btn:hover {
    background: #212125;
    color: #fff;
}
.nda-file-link {
    display: block;
    color: #c0e6c0;
    font-size: 0.97rem;
    margin-top: 6px;
    text-decoration: underline;
    word-break: break-all;
}


.modal {
    display: none; /* Hide all modals by default */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    max-height: 90vh;
  overflow-y: auto;
  padding: auto; 
  }
  
  .modal.show {
    display: flex; /* Only show when .show is added via JS */
  }
  
  .modal-content {
    background: #1f1f28;
    color: #fff;
    padding: 32px;
    border-radius: 14px;
    width: 480px;
    max-width: 95%;
  }


/* Modal styling */
.nda-modal-bg {
    position: fixed; left:0;top:0;right:0;bottom:0;
    background:rgba(26,28,34,0.85);
    display:none; align-items:center;justify-content:center;z-index:22;
}
.nda-modal {
    background: #292933;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(38,52,58,0.26);
    padding: 34px 38px 22px 38px;
    min-width: 340px;
    color: #fff;
}
.nda-modal input, .nda-modal textarea {
    margin-bottom: 15px;
    width: 100%;
}
.nda-modal .modal-btn-row {
    display:flex;gap:15px;margin-top:14px;
}
.nda-modal .nda-upload-modal-btn {
    background: #38e68c;
    color: #232328;
    font-weight: 600;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 1.01rem;
    cursor: pointer;
    transition: background 0.14s;
}
.nda-modal .nda-upload-modal-btn:hover {
    background: #29c275;
}
.nda-modal .nda-cancel-btn {
    background: #35353b;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 1.01rem;
    cursor: pointer;
}



